We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-46572

passport-wsfed-saml2 Has SAML Authentication Bypass via Signature Wrapping



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.

Reserved 2025-04-24 | Published 2025-05-06 | Updated 2025-05-13 | Assigner GitHub_M


CRITICAL: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-287: Improper Authentication

Product status

>= 3.0.5, < 4.6.4
affected

References

github.com/...-saml2/security/advisories/GHSA-wjmp-wphq-jvqf

github.com/...ommit/e5cf3cc2a53748207f7a81bfba9195c8efa94181

cve.org (CVE-2025-46572)

nvd.nist.gov (CVE-2025-46572)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-46572

Support options

Helpdesk Chat, Email, Knowledgebase