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

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2025-05-06T20:18:26.379Z
- Modified: 2026-06-17T09:26:38.747Z
- Also known as: GHSA-wjmp-wphq-jvqf
- Weaknesses: CWE-287, CWE-347
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- auth0 passport-wsfed-saml2: >= 3.0.5, < 4.6.4
- passport-wsfed-saml2 (npm): from 3.0.5 before 4.6.4

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-wjmp-wphq-jvqf> (web)
- <https://github.com/auth0/passport-wsfed-saml2/commit/e5cf3cc2a53748207f7a81bfba9195c8efa94181> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46572> (advisory)
- <https://github.com/auth0/passport-wsfed-saml2> (package)

## Sources

- CVE List: [CVE-2025-46572](https://www.cve.org/CVERecord?id=CVE-2025-46572), CVE Terms of Use, modified 2025-05-13
- GitHub Advisory Database: [GHSA-wjmp-wphq-jvqf](https://github.com/advisories/GHSA-wjmp-wphq-jvqf), CC-BY-4.0, modified 2025-05-06
- NVD: [CVE-2025-46572](https://nvd.nist.gov/vuln/detail/CVE-2025-46572), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-46572 · Whole record: https://cve.day/CVE-2025-46572.json · Rebuilt by cve.day 2026-11-25T22:58:57.672Z
