Loading advisory.
Loading advisory.
Signature bypass via multiple root elements
A remote attacker may be able to bypass SAML authentication on a website using passport-saml. A successful attack requires that the attacker is in possession of an arbitrary IDP signed XML element.
Published 2022-10-12 00:00 UTC · Modified 2025-04-23 16:51 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| passport-saml | npm | < 3.2.2 | 3.2.2 | npm install passport-saml@3.2.2 |
| node-saml | npm | < 4.0.0-beta.5 | 4.0.0-beta.5 | npm install node-saml@4.0.0-beta.5 |
| @node-saml/node-saml | npm | < 4.0.0-beta.5 | 4.0.0-beta.5 | npm install @node-saml/node-saml@4.0.0-beta.5 |
| @node-saml/passport-saml | npm | < 4.0.0-beta.3 | 4.0.0-beta.3 | npm install @node-saml/passport-saml@4.0.0-beta.3 |
A remote attacker may be able to bypass SAML authentication on a website using passport-saml. A successful attack requires that the attacker is in possession of an arbitrary IDP signed XML element. Depending on the IDP used, fully unauthenticated attacks (e.g without access to a valid user) might also be feasible if generation of a signed message can be triggered.
Users should upgrade to passport-saml 3.2.2 or newer. The issue was also present in the beta releases of node-saml before v4.0.0-beta.5.
Disable SAML authentication.
Are there any links users can visit to find out more?
If you have any questions or comments about this advisory:
Open a discussion in the node-saml repo
Felix Wilhelm of Google Project Zero
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.045 on 2026-11-24 to 0.039 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.045 | first score | v2026.06.15 |
| 2026-11-26 | 0.039 | 0.045 | v2026.06.15 |