{"id":"CVE-2025-46572","published":"2025-05-06T20:18:26Z","modified":"2025-05-13T19:17:06Z","title":"passport-wsfed-saml2 Has SAML Authentication Bypass via Signature Wrapping","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 crafting a SAMLResponse. This can be done by using a valid SAML object that was signed by the configured IdP. Users are affected specifically when the service provider is using passport-wsfed-saml2 and a valid SAML document 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":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.00784,"percentile":0.5256,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-wjmp-wphq-jvqf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/auth0/passport-wsfed-saml2/commit/e5cf3cc2a53748207f7a81bfba9195c8efa94181","tags":["x_refsource_MISC"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":10.51},{"name":"CVSS severity","points":6.51}]},"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-06T20:42:56.384918Z","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-wjmp-wphq-jvqf"],"provenance":"source"}],"summary":{"text":"The passport-wsfed-saml2 Passport strategy, which handles both WS-Federation and SAML2 authentication, contains an authentication bypass flaw in its SAML handling (improper authentication) affecting versions 3.0.5 through 4.6.3. An attacker who can obtain a valid SAML document signed by the configured Identity Provider, and who can send a crafted SAMLResponse to the service provider, can impersonate any user during SAML authentication, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:02Z"},"euvd":{"id":"EUVD-2025-13639","exploited":false,"provenance":"source"}}