Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (hackerone).
CVSS VectorVendor: hackerone
Lifecycle Timeline
4DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
More in Rocket Chat
View allA sanitization vulnerability exists in Rocket.Chat server versions <3.13.2, <3.12.4, <3.11.4 that allowed queries to an
A improper input sanitization vulnerability exists in Rocket.Chat server 3.11, 3.12 & 3.13 that could lead to unauthenti
A improper authentication vulnerability exists in Rocket.Chat <v5, <v4.8.2 and <v4.7.5 that allowed two factor authentic
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
A Server-Side Request Forgery (SSRF) affects Rocket.Chat's Twilio webhook endpoint before version 6.10.1. Rated high sev
An information disclosure vulnerability exists in the Rocket.Chat server fixed v3.13, v3.12.2 & v3.11.3 that allowed ema
An improper authentication vulnerability exists in Rocket.Chat Mobile App <4.14.1.22788 that allowed an attacker with ph
A cleartext transmission of sensitive information exists in Rocket.Chat <v5, <v4.8.2 and <v4.7.5 relating to Oauth token
An information disclosure vulnerability exists in Rocket.Chat <v5 due to the getUserMentionsByChannel meteor server meth
Rocket.Chat is an open-source fully customizable communications platform developed in JavaScript. Rated medium severity
Rocket.Chat through 3.4.2 allows XSS where an attacker can send a specially crafted message to a channel or in a direct
Rocket.Chat before 2.1.0 allows XSS via a URL on a ![title] line. Rated medium severity (CVSS 6.1), this vulnerability i
Same weakness CWE-287 – Improper Authentication
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51023
GHSA-f3wj-pr2w-q3fm