CVE-2025-54369
CRITICAL 9.3CVSS 4.0Node-SAML SAML Authentication Bypass
Node-SAML is a SAML library not dependent on any frameworks that runs in Node. In versions 5.0.1 and below, 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. This issue is fixed in version 5.1.0.
- Published
- 24 Jul 2025
- Last modified
- 7 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-287CWE-347CWE-87
- Also known as
- GHSA-m837-g268-mmv7
- Sources
- NVDJSONOSV GHSA-m837-g268-mmv7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | node-saml | <= 3.1.2 | |
| OSV | npm | @node-saml/node-saml | < 5.1.0 | 5.1.0 |
References
- https://github.com/node-saml/node-saml/commit/31ead9411ebc3e2385086fa9149b6c17732bca10 · WEB
- https://github.com/node-saml/node-saml/releases/tag/v5.1.0 · WEB
- https://github.com/node-saml/node-saml/security/advisories/GHSA-m837-g268-mmv7 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54369 · ADVISORY
- https://github.com/node-saml/node-saml · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 24 Jul 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Jul 2025)