8.6
CWE
287 290
EPSS
0.061%
Advisory Published
Advisory Published
Updated

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

First published: Tue May 06 2025(Updated: )

### Overview This vulnerability 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. ### Am I Affected? You are affected by this SAML Attribute Smuggling vulnerability if you are using `passport-wsfed-saml2` version 4.6.3 or below, specifically under the following conditions: 1. The service provider is using `passport-wsfed-saml2`, 2. A valid SAML Response signed by the Identity Provider can be obtained ### Fix Upgrade to v4.6.4 or greater.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
passport-wsfed-saml2>=3.0.5<=4.6.3
npm/passport-wsfed-saml2>=3.0.5<=4.6.3
4.6.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-46573?

    CVE-2025-46573 is a high severity vulnerability that allows an attacker to impersonate any user during SAML authentication.

  • How do I fix CVE-2025-46573?

    To fix CVE-2025-46573, update the passport-wsfed-saml2 library to a version later than 4.6.3.

  • What versions of passport-wsfed-saml2 are affected by CVE-2025-46573?

    CVE-2025-46573 affects passport-wsfed-saml2 versions from 3.0.5 up to and including 4.6.3.

  • What impact does CVE-2025-46573 have on applications using passport-wsfed-saml2?

    CVE-2025-46573 allows attackers to exploit SAML responses, potentially leading to unauthorized access and impersonation of users.

  • Is there a workaround for CVE-2025-46573 if I cannot update immediately?

    There is no specific workaround for CVE-2025-46573; the best course of action is to upgrade to a secure version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203