All vulnerabilities

Servers and applications

CVE-2026-49277

OAuth access and refresh tokens remain valid after account deactivation

Severity
Medium
Published
25 May 2026
Last changed
29 May 2026
Added to UpHeron
3 Nov 2026
Fixed in
7.10.12
Exploit chance
0.3% in the next 30 daysHigher than 24% of CVEs. EPSS by FIRST, 19 Nov 2026
Also known as
GHSA-39hg-492f-3c4f
Sources
Project advisories (GitHub)

Description

Rocket.Chat 8.2.0 does not revoke OAuth bearer or refresh tokens when a user is deactivated. A deactivated user can continue using an existing OAuth access token, and can also mint a fresh access token from an existing refresh token.

User deactivation in apps/meteor/app/lib/server/functions/setUserActiveStatus.ts:122-126 revokes only Meteor login tokens with Users.unsetLoginTokens(userId). It does not delete OAuth access or refresh tokens.

OAuth bearer authentication in apps/meteor/app/oauth2-server-config/server/oauth/oauth2-server.ts:34-47 accepts any non-expired token and loads the user by ID, but it does not verify user.active.

Refresh-token handling in apps/meteor/server/oauth2-server/model.ts:211-247 also does not validate the user's active state before issuing a new access token.

As a result, OAuth credentials survive account deactivation.

From RocketChat/Rocket.Chat's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Rocket.ChatServers and applications · github:rocketchat/rocket.chat
  • Every version before 7.10.12

About Rocket.Chat

open source team chat platform

From Wikidata, CC0 1.0.
Docker Hub pulls
100,039,688Docker Hub, 15 Nov 2026
GitHub stars
46,534GitHub, 15 Nov 2026
Forks
14,157GitHub, 15 Nov 2026
Latest release
9.0.0GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
TypeScriptWikidata
First published on GitHub
19 May 2015GitHub

Release lines

ReleaseLatestSecurity fixes
8.9 (LTS)LTS8.9.1Until 31 Oct 2027
8.88.8.2Until 1 Mar 2027
8.78.7.2Until 31 Jan 2027
8.68.6.4Until 31 Jan 2027
8.5 (LTS)LTS8.5.5Until 31 Jul 2027
8.48.4.6Ended 31 Oct 2026

From endoflife.date.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-49277
  • GitHub Advisory Database https://github.com/advisories/GHSA-39hg-492f-3c4f
  • github.com https://github.com/RocketChat/Rocket.Chat/security/advisories/GHSA-39hg-492f-3c4f