Loading...
Skip to main content

CVE-2025-54369 — Vulnerability in node-saml — CVE Details

CRITICAL

Node-SAML SAML Authentication Bypass

Published July 25, 2025Updated September 10, 2026Source: osv

Summary

Node-SAML loads the assertion from the (unsigned) original response document. This is different than the parts that are verified when checking signature. This allows an attacker to modify authentication details within a valid SAML assertion. For example, in one attack it is possible to remove any character from the SAML assertion username. To conduct the attack an attacker would need a validly signed document from the identity provider (IdP). In fixing this we upgraded xml-crypto to v6.1.2 and made sure to process the SAML assertions from only verified/authenticated contents. This will prevent future variants from coming up.

Advisory Timeline

  • First published July 25, 2025 (444 days ago).
  • Last revised September 10, 2026 — 412 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update @node-saml/node-saml to 5.1.0 or later
npm install @node-saml/node-saml@5.1.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: npm (2).

PackageEcosystemAffectedFixed In
node-saml
npm
All versionsRange-based data available
@node-saml/node-saml
npm
All versions5.1.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

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

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Frequently Asked Questions

What is CVE-2025-54369?
Node-SAML SAML Authentication Bypass This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2025-54369?
CVE-2025-54369 affects node-saml and @node-saml/node-saml. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-54369 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-m837-g268-mmv7

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies