# CVE-2025-46573: passport-wsfed-saml2 Has SAML Authentication Bypass via Attribute Smuggling

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `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`
- 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.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2025-05-06T20:22:00.104Z
- Modified: 2026-06-17T09:26:38.853Z
- Also known as: GHSA-8gqj-226h-gm8r
- Weaknesses: CWE-287, CWE-290
- 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 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.

(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 8.6 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-8gqj-226h-gm8r> (web)
- <https://github.com/auth0/passport-wsfed-saml2/commit/e5cf3cc2a53748207f7a81bfba9195c8efa94181> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46573> (advisory)
- <https://github.com/auth0/passport-wsfed-saml2> (package)

## Sources

- CVE List: [CVE-2025-46573](https://www.cve.org/CVERecord?id=CVE-2025-46573), CVE Terms of Use, modified 2025-05-07
- GitHub Advisory Database: [GHSA-8gqj-226h-gm8r](https://github.com/advisories/GHSA-8gqj-226h-gm8r), CC-BY-4.0, modified 2025-05-07
- NVD: [CVE-2025-46573](https://nvd.nist.gov/vuln/detail/CVE-2025-46573), Public domain, modified 2026-06-17

---

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