{"id":"CVE-2025-46572","aliases":["GHSA-wjmp-wphq-jvqf"],"url":"https://o3.security/vulnerability/CVE-2025-46572","summary":"passport-wsfed-saml2 Has SAML Authentication Bypass via Signature Wrapping","details":"### Overview\nThis vulnerability allows an attacker to impersonate any user during SAML authentication by crafting a SAMLResponse. This can be done by using a valid SAML object that was signed by the configured IdP.\n\n### Am I Affected?\nYou are affected by this SAML Signature Wrapping vulnerability if you are using `passport-wsfed-saml2` version 4.6.3 or below, specifically under the following conditions:\n1. The service provider is using `passport-wsfed-saml2`,\n2. A valid SAML document signed by the Identity Provider can be obtained.\n\n### Fix\nUpgrade to v4.6.4 or greater.","published":"2025-05-06T20:18:26.379Z","modified":"2026-10-28T02:30:49.670301512Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"passport-wsfed-saml2","fixedVersion":"4.6.4"}],"fix":{"url":"https://github.com/auth0/passport-wsfed-saml2/commit/e5cf3cc2a53748207f7a81bfba9195c8efa94181","label":"auth0/passport-wsfed-saml2@e5cf3cc"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46572.json"},{"type":"ADVISORY","url":"https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-wjmp-wphq-jvqf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46572"},{"type":"FIX","url":"https://github.com/auth0/passport-wsfed-saml2/commit/e5cf3cc2a53748207f7a81bfba9195c8efa94181"},{"type":"PACKAGE","url":"https://github.com/auth0/passport-wsfed-saml2"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:49.670301512Z"}}