High severity · published May 6, 2025
CVE-2025-46573
passport-wsfed-saml2 Has SAML Authentication Bypass via Attribute Smuggling
8.6
CVSS
0.4%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 31% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
passport-wsfed-saml2 · auth0
>= 3.0.5, < 4.6.4 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-46573
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-46573
github.com
https://github.com/auth0/passport-wsfed-saml2/commit/e5cf3cc2a53748207f7a81bfba9195c8efa94181
github.com
https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-8gqj-226h-gm8r
More from passport-wsfed-saml2
9.3
CVE-2025-46572
passport-wsfed-saml2 Has SAML Authentication Bypass via Signature Wrapping
8.1
CVE-2017-16897
A vulnerability has been discovered in the Auth0 passport-wsfed-saml2 library affecting versions < 3.0.5
7.5
CVE-2022-23505
Passport-wsfed-saml2 vulnerable to Authentication Bypass for WSFed authentication
