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

> CVE-2025-46573: passport-wsfed-saml2 Has SAML Authentication Bypass via Attribute Smuggling. CVSS 8.6 (CVSS 4.0).

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

- Published: 2025-05-06 20:22 UTC · Updated: 2026-06-17 09:26 UTC · Assigner: GitHub\_M
- CVSS: 8.6 (CVSS 4.0) · Severity: High
- EPSS: 0.37%, 31th 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 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.

## 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-46573)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-46573)
- [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-8gqj-226h-gm8r](https://github.com/auth0/passport-wsfed-saml2/security/advisories/GHSA-8gqj-226h-gm8r)

---

_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-46573 · Markdown: https://rewindex.com/cve/CVE-2025-46573.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-46573 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:13:28.527Z
