{"id":"CVE-2025-46573","aliases":["GHSA-8gqj-226h-gm8r"],"url":"https://o3.security/vulnerability/CVE-2025-46573","summary":"passport-wsfed-saml2 Has SAML Authentication Bypass via Attribute Smuggling","details":"### Overview\nThis vulnerability 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.\n\n### Am I Affected?\nYou are affected by this SAML Attribute Smuggling 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 Response signed by the Identity Provider can be obtained\n\n### Fix\nUpgrade to v4.6.4 or greater.","published":"2025-05-06T20:22:00.104Z","modified":"2026-08-12T03:51:22.522565832Z","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-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"},{"type":"PACKAGE","url":"https://github.com/auth0/passport-wsfed-saml2"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:22.522565832Z"}}