{"id":"CVE-2025-46573","summary":"passport-wsfed-saml2 Has SAML Authentication Bypass via Attribute Smuggling","details":"passport-wsfed-saml2 provides passport strategy for both WS-fed and SAML2 protocol. A vulnerability present starting in version 3.0.5 up to and including version 4.6.3 allows an attacker to impersonate any user during SAML authentication by tampering with a valid SAML response. This can be done by adding attributes to the response. Users are affected specifically when the service provider is using `passport-wsfed-saml2` and a valid SAML Response signed by the Identity Provider can be obtained. Version 4.6.4 contains a fix for the vulnerability.","aliases":["GHSA-8gqj-226h-gm8r"],"modified":"2026-08-12T03:51:22.522565832Z","published":"2025-05-06T20:22:00.104Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-287"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46573.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46573.json"},{"type":"ADVISORY","url":"https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-8gqj-226h-gm8r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46573"},{"type":"FIX","url":"https://github.com/auth0/passport-wsfed-saml2/commit/e5cf3cc2a53748207f7a81bfba9195c8efa94181"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/auth0/passport-wsfed-saml2","events":[{"introduced":"cc8d85e2dba45218e6d6afed9948c577f3669503"},{"fixed":"e5cf3cc2a53748207f7a81bfba9195c8efa94181"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"3.0.5"},{"fixed":"4.6.4"}]}}],"versions":["v4.5.1","v4.5.0","v4.4.0","v4.3.0","v4.2.0","v4.0.0","v3.0.12","v3.0.11","v3.0.10","v3.0.9","v3.0.8","v3.0.7","v3.0.6","v3.0.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46573.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}