{"id":"CVE-2025-54369","published":"2025-12-12T23:03:52Z","modified":"2026-05-07T20:46:21Z","title":"Node-SAML SAML Authentication Bypass","vendor":"node-saml","product":"node-saml","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00484,"percentile":0.34423,"provenance":"source"},"cwes":[{"id":"CWE-87","name":"Improper Neutralization of Alternate XSS Syntax"},{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/node-saml/node-saml/security/advisories/GHSA-m837-g268-mmv7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/node-saml/node-saml/commit/31ead9411ebc3e2385086fa9149b6c17732bca10","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-saml/node-saml/releases/tag/v5.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":6.88},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"node-saml","affectedVersions":[{"vendor":"node-saml","product":"node-saml","versions":["< 5.1.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-15T14:55:48.902160Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"node-saml","vulnerableRanges":["<=3.1.2"],"patched":[],"from":["GHSA-m837-g268-mmv7"],"provenance":"source"},{"ecosystem":"npm","package":"@node-saml/node-saml","vulnerableRanges":["<5.1.0"],"patched":["5.1.0"],"from":["GHSA-m837-g268-mmv7"],"provenance":"source"}],"summary":{"text":"The node-saml library (product node-saml, vendor node-saml) contains an authentication bypass in versions 5.0.1 and below, where the assertion's authentication details are read from the unsigned original response document rather than the portion whose signature is verified. An attacker with network access, requiring no privileges and no user interaction, can modify authentication details such as the username within an otherwise valid SAML assertion, for example by removing characters from it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:14:03Z"},"euvd":{"id":"EUVD-2025-22555","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-node-saml-cve-2022-39300","parents":[{"from":"CVE-2022-39300","to":"CVE-2025-54369","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/saml.ts"],"commits":["https://github.com/node-saml/node-saml/commit/c1f275c289c01921e58f5c70ce0fdbc5287e5fbe","https://github.com/node-saml/node-saml/commit/31ead9411ebc3e2385086fa9149b6c17732bca10"],"basis":"shared function","functions":["SAML"]}]},{"from":"CVE-2023-40178","to":"CVE-2025-54369","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/saml.ts"],"commits":["https://github.com/node-saml/node-saml/commit/045e3b9c54211fdb95f96edf363679845b195cec","https://github.com/node-saml/node-saml/commit/31ead9411ebc3e2385086fa9149b6c17732bca10"],"basis":"shared function","functions":["SAML"]}]}]}}