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.
Affected software
| Software | Affected versions |
|---|---|
Rocket.ChatServers and applications · github:rocketchat/rocket.chat |
|
About Rocket.Chat
open source team chat platform
- 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
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 8.9 (LTS)LTS | 8.9.1 | Until 31 Oct 2027 |
| 8.8 | 8.8.2 | Until 1 Mar 2027 |
| 8.7 | 8.7.2 | Until 31 Jan 2027 |
| 8.6 | 8.6.4 | Until 31 Jan 2027 |
| 8.5 (LTS)LTS | 8.5.5 | Until 31 Jul 2027 |
| 8.4 | 8.4.6 | Ended 31 Oct 2026 |
From endoflife.date.
Vulnerabilities in Rocket.Chat
- In our list
- 77
- Published in the last 12 months
- 30
- Critical, last 12 months
- 7
- High, last 12 months
- 9
- Known exploited
- 0
- CVE-2021-48022Rocket.Chat < 3.13.2 Unauthenticated IDOR via livechat:loadHistoryHigh 8.7 18 Nov 2026
- CVE-2026-65645Rocket.Chat in versions before 8.8.0, 8.7.1, 8.6.2, 8.5.3, 8.4.6. 8.3.8, 8.2.8, 8.1.8, and 7.10.15, the Meteor DDP methods getThreadsList and getThreadMessages accept rid / tmid as raw, untyped parameters with no schema validation. A MongoDB operator object (e.g. {"$gt": "4"}) can be substituted for a string room-id or message-id. The authorization check resolves to a room the attacker already…Medium 4.3 21 Aug 2026
- CVE-2026-65644Rocket.Chat in versions before 8.8.0, 8.7.1, 8.6.2, 8.5.3, 8.4.6, 8.3.8, 8.2.8, 8.1.8, and 7.10.15 has a REST API endpoint POST /api/v1/livechat/visitor that accepts an unauthenticated, unsanitized name field for Livechat visitors. This name is stored raw and later rendered via dangerouslySetInnerHTML in the Omnichannel Queue side panel (InquireSidePanelItem.tsx), injecting a real, clickable…High 7.5 21 Aug 2026
- GHSA-r3v3-v742-55j5Arbitrary notify-user event injection via stream-notify-room-users forward (incomplete fix of GHSA-27jx)Medium 5.4 20 Aug 2026
- GHSA-6x96-99rg-wg67Blind Server-Side Request Forgery (SSRF) In The downloadPublicImportFile EndpointMedium 20 Aug 2026
- GHSA-7c6v-m68v-v73rsendForgotPasswordEmail Meteor Method Lacks DDP Rate LimitLow 20 Aug 2026
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