CVE-2025-54369 Node-SAML SAML Authentication Bypass
CriticalCVSS 9.3
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| node-saml @node-saml/node-saml(npm) | < 5.1.0; <= 5.0.1 | 5.1.0 | Fixed |
| npm node-saml(npm) | <= 3.1.2 | after 3.1.2 | Fixed |
| node-saml @node-saml/node-saml | = < 5.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm node-saml(npm) | <= 3.1.2 | No fix listed |
| node-saml @node-saml/node-saml(npm) | <= 5.0.1 | No fix listed |
| node-saml @node-saml/node-saml | = < 5.1.0 | No fix listed |
| node-saml @node-saml/node-saml(npm) | < 5.1.0 | 5.1.0 |
References
- https://github.com/node-saml/node-saml/security/advisories/GHSA-m837-g268-mmv7 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/node-saml/node-saml/commit/31ead9411ebc3e2385086fa9149b6c17732bca10 patch
- https://github.com/node-saml/node-saml/releases/tag/v5.1.0
- github.com
- github.com product