# CVE-2025-46572: passport-wsfed-saml2 Has SAML Authentication Bypass via Signature Wrapping

> CVE-2025-46572: passport-wsfed-saml2 Has SAML Authentication Bypass via Signature Wrapping. CVSS 9.3 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2025-46572
Last updated: 2026-06-17T09:26:38Z

- Published: 2025-05-06 20:18 UTC · Updated: 2026-06-17 09:26 UTC · Assigner: GitHub\_M
- CVSS: 9.3 (CVSS 4.0) · Severity: Critical
- EPSS: 0.42%, 36th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-287

## 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 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.

## Affected vendors and products

- auth0: passport-wsfed-saml2

## Tracked companies

- [Auth0](https://rewindex.com/company/auth0.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-46572)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-46572)
- [https://github.com/auth0/passport-wsfed-saml2/commit/e5cf3cc2a53748207f7a81bfba9195c8efa94181](https://github.com/auth0/passport-wsfed-saml2/commit/e5cf3cc2a53748207f7a81bfba9195c8efa94181)
- [https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-wjmp-wphq-jvqf](https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-wjmp-wphq-jvqf)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-46572 · Markdown: https://rewindex.com/cve/CVE-2025-46572.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-46572 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:15:15.432Z
