Skip to main content

Rocket.Chat CVE-2026-58066

| EUVDEUVD-2026-51023 CRITICAL
Improper Authentication (CWE-287)
2026-07-30 hackerone GHSA-f3wj-pr2w-q3fm
9.8
CVSS 3.0 · Vendor: hackerone
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Rocket.Chat with SAML SSO enabled
  2. Delivery
    Obtain a valid IdP-signed SAML document
  3. Exploit
    Wrap it, injecting forged admin identity attributes
  4. Execution
    POST crafted response to SAML ACS endpoint
  5. Persist
    Signature validates but is unbound to forged data
  6. Impact
    Authenticated session as arbitrary/admin user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the target Rocket.Chat instance to have SAML SSO enabled and configured to trust an external IdP certificate; the attacker must possess at least one document carrying a valid signature made by that trusted IdP certificate to reuse as the signature donor. Given CVSS PR:N/UI:N, no attacker authentication or user interaction is needed once a valid signed sample is available. Limiting factors: instances without SAML enabled are not affected at all, and obtaining a genuinely IdP-signed sample is the practical prerequisite (an attacker's own legitimate SAML login typically satisfies this). Affected versions are all releases below the per-branch fixes (e.g., <8.7.0, <8.6.1 ... <7.10.14).

Impact

This is a genuine high-priority issue, not an inflated CVSS number. The supplied CVSS 3.0 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8) is internally consistent with the description: SAML endpoints are network-reachable, no attacker authentication is needed (the whole point is impersonating any account), and the attacker only needs one valid IdP-signed document as a signature donor plus the ability to craft the wrapper - low complexity. Classic SAML XSW bypasses are highly reliable and scriptable once a signed sample is obtained, so real-world exploitability is high where SAML SSO is enabled. No EPSS score, KEV status, or SSVC decision data was provided, so exploitation-probability and automatable ratings cannot be quantified from the input; the absence of KEV means active exploitation is not confirmed. The main real-world limiter is configuration scope: only deployments that have SAML SSO enabled and trust an external IdP are affected - instances using only password or OAuth login are not exposed.

Exploit ScenarioDerived

An attacker obtains any single SAML response legitimately signed by the target's trusted IdP certificate - for example their own valid login, an intercepted assertion, or a leaked sample - and wraps it so the genuine signature stays valid while forged NameID/attribute values identifying an admin account are placed where Rocket.Chat reads identity. Submitting this crafted document to the SAML ACS endpoint authenticates the attacker as the impersonated administrator without any password. No weaponized exploit is public, but the patch's regression tests (samlResponseNestedInWrapper) demonstrate the exact wrapping technique.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Authentication bypass in Rocket.Chat's SAML SSO before 8.7.0 (and the 8.6.1, 8.5.2, 8.4.5, 8.3.7, 8.2.7, 8.1.7, 8.0.8, 7.10.14 branch fixes) lets a remote unauthenticated attacker log in as any user, including administrators, via an XML Signature Wrapping attack. The parser validated that a signature was cryptographically correct against the trusted IdP certificate but never bound that signature to the samlp:Response/saml:Assertion actually processed, so forged identity attributes wrapped alongside a genuine signature were accepted. There is no public exploit identified at time of analysis, but a HackerOne report and an upstream patch with signature-scope regression tests exist; EPSS/KEV data was not provided.

RemediationAI

Vendor-released patch: upgrade to the fixed release on your branch - 8.7.0, 8.6.1, 8.5.2, 8.4.5, 8.3.7, 8.2.7, 8.1.7, 8.0.8, or 7.10.14 (whichever is the next patched version at or above your current line), as delivered in the security hotfix of Rocket.Chat PR #41233 (https://github.com/RocketChat/Rocket.Chat/pull/41233); see also https://docs.rocket.chat/docs/security-fixes-and-updates. If you cannot patch immediately, the most effective compensating control is to disable SAML SSO in Admin > Settings > SAML and fall back to another authentication method (password/OAuth/LDAP), which fully closes the vector at the cost of removing SAML login for users. Where SAML must remain enabled, restrict network access to the SAML validation endpoints (e.g., /_saml/validate) to trusted IdP source ranges via a reverse proxy or firewall and monitor authentication logs for logins that do not correlate with expected IdP sessions - note this reduces but does not eliminate risk since the attacker only needs one valid signed assertion. Prioritize patching over workarounds.

Affected VersionsENISA

Rocket.Chat 0 <8.1.7
Rocket.Chat 0 <8.4.5
Rocket.Chat 0 <8.3.7
Rocket.Chat 0 <8.7.0
Rocket.Chat 0 <8.0.8
Rocket.Chat 0 <8.2.7
Rocket.Chat 0 <7.10.14
Rocket.Chat 0 <8.6.1
Rocket.Chat 0 <8.5.2

Affected Packages

euvd rocket_chat fix: 7.10.14, 8.0.8, 8.1.7, 8.2.7, 8.3.7, 8.4.5, 8.5.2, 8.6.1, 8.7.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in Rocket.Chat's Meteor SAML accounts module (apps/meteor/app/meteor-accounts-saml/server/lib/parsers/Response.ts), which parses SAML 2.0 assertions using the xml-crypto library. The root cause is CWE-287 (Improper Authentication) manifesting specifically as XML Signature Wrapping (XSW): xml-crypto confirmed the signature was mathematically valid over *some* referenced element, but the application never checked that the signed ds:Reference URI matched the ID of the Response/Assertion whose attributes it then trusted. An attacker can therefore relocate a legitimately signed element and inject an unsigned sibling containing arbitrary NameID/attribute values. The patch adds getElementId() and signatureCoversElement() to require that every signature reference URI equals the ID of the processed element, and additionally enforces that the SAML Response is the document root ('response !== doc.documentElement' rejection) to block wrapper-envelope tricks.

Know when Rocket Chat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (hackerone) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Network-facing SAML endpoint, no auth or interaction needed once a signed sample is held, yielding full impersonation of any account including admin - total C/I/A impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (hackerone).

CVSS VectorVendor: hackerone

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Jul 30, 2026 - 07:03 EUVD
CVE Published
Jul 30, 2026 - 06:03 cve.org
CRITICAL 9.8

DescriptionCVE.org

Rocket.Chat's SAML SSO before versions 8.7.0, 8.6.1, 8.5.2, 8.4.5, 8.3.7, 8.2.7, 8.1.7, 8.0.8, and 7.10.14 verified XML signatures but did not bind the validated signature to samlp:Response / saml:Assertion. An attacker could submit a wrapped document carrying forged identity attributes alongside any valid signature made by the trusted IdP certificate, and log in as an arbitrary user.

Executive ViewAI

Why It Matters

Rocket.Chat versions prior to 8.7.0 contain a critical SAML authentication bypass that allows unauthenticated attackers to gain administrative access by manipulating XML signatures. Any organization using affected Rocket.Chat instances with SAML SSO enabled faces immediate risk of unauthorized account takeover, including access to administrative controls, chat history, and integrated systems.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
widely used open-source team chat, but SAML SSO not universally enabled
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2021-22910 CRITICAL POC
9.8 Aug 09

A sanitization vulnerability exists in Rocket.Chat server versions <3.13.2, <3.12.4, <3.11.4 that allowed queries to an

CVE-2021-22911 CRITICAL POC
9.8 May 27

A improper input sanitization vulnerability exists in Rocket.Chat server 3.11, 3.12 & 3.13 that could lead to unauthenti

CVE-2022-35248 HIGH POC
8.8 Sep 23

A improper authentication vulnerability exists in Rocket.Chat <v5, <v4.8.2 and <v4.7.5 that allowed two factor authentic

CVE-2022-32211 HIGH POC
8.8 Sep 23

A SQL injection vulnerability exists in Rocket.Chat <v3.18.6, <v4.4.4 and <v4.7.3 which can allow an attacker to retriev

CVE-2024-39713 HIGH POC
8.6 Aug 05

A Server-Side Request Forgery (SSRF) affects Rocket.Chat's Twilio webhook endpoint before version 6.10.1. Rated high sev

CVE-2026-23477 HIGH POC
7.7 Jan 14

Rocket.Chat versions prior to 6.12.0 expose the OAuth applications API endpoint to any authenticated user, allowing disc

CVE-2021-22892 HIGH POC
7.5 May 27

An information disclosure vulnerability exists in the Rocket.Chat server fixed v3.13, v3.12.2 & v3.11.3 that allowed ema

CVE-2022-30124 MEDIUM POC
6.8 Sep 23

An improper authentication vulnerability exists in Rocket.Chat Mobile App <4.14.1.22788 that allowed an attacker with ph

CVE-2022-32227 MEDIUM POC
6.5 Sep 23

A cleartext transmission of sensitive information exists in Rocket.Chat <v5, <v4.8.2 and <v4.7.5 relating to Oauth token

CVE-2022-32220 MEDIUM POC
6.5 Sep 23

An information disclosure vulnerability exists in Rocket.Chat <v5 due to the getUserMentionsByChannel meteor server meth

CVE-2021-32832 MEDIUM POC
6.5 Aug 30

Rocket.Chat is an open-source fully customizable communications platform developed in JavaScript. Rated medium severity

CVE-2022-21830 MEDIUM POC
6.1 Apr 01

A blind self XSS vulnerability exists in RocketChat LiveChat <v1.9 that could allow an attacker to trick a victim pastin

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy