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
Share

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

4
Source Code Evidence Fetched
Jul 30, 2026 - 08:29 vuln.today
Analysis Generated
Jul 30, 2026 - 08:29 vuln.today
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.

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.

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-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-2020-15926 MEDIUM POC
6.1 Aug 18

Rocket.Chat through 3.4.2 allows XSS where an attacker can send a specially crafted message to a channel or in a direct

CVE-2019-17220 MEDIUM POC
6.1 Oct 21

Rocket.Chat before 2.1.0 allows XSS via a URL on a ![title] line. Rated medium severity (CVSS 6.1), this vulnerability i

Share

CVE-2026-58066 vulnerability details – vuln.today

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