{"id":"CVE-2025-46573","published":"2025-05-06T20:22:00Z","modified":"2025-05-07T15:34:04Z","title":"passport-wsfed-saml2 Has SAML Authentication Bypass via Attribute Smuggling","vendor":"auth0","product":"passport-wsfed-saml2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00381,"percentile":0.32907,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-8gqj-226h-gm8r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/auth0/passport-wsfed-saml2/commit/e5cf3cc2a53748207f7a81bfba9195c8efa94181","tags":["x_refsource_MISC"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":6.58},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"auth0","affectedVersions":[{"vendor":"auth0","product":"passport-wsfed-saml2","versions":[">= 3.0.5, < 4.6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-07T13:46:09.234259Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"passport-wsfed-saml2","vulnerableRanges":[">=3.0.5, <4.6.4"],"patched":["4.6.4"],"from":["GHSA-8gqj-226h-gm8r"],"provenance":"source"}],"summary":{"text":"The passport-wsfed-saml2 Passport strategy, which handles both WS-Federation and SAML2 authentication, contains an authentication bypass flaw in versions 3.0.5 through 4.6.3 that lets SAML authentication be subverted through attribute smuggling. An attacker holding a valid Identity Provider-signed SAML response that they can obtain can add attributes to it to impersonate any user, with low-privilege authenticated access required and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:37Z"},"euvd":{"id":"EUVD-2025-13640","exploited":false,"provenance":"source"}}