CVE-2022-39299
highpriority · track · 44EPSS 0.045 · 91 %ileexploit · PoCDEEUUSEPSS · scored 2026-10-26
Passport-SAML is a SAML 2.0 authentication provider for Passport, the Node.js authentication library. 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 version 3.2.2 or newer. The issue was also present in the beta releases of `node-saml` before version 4.0.0-beta.5. If you cannot upgrade, disabling SAML authentication may be done as a workaround.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
affected products (11)
Products and version ranges known to be affected.
- passport-saml project passport-saml< 3.2.2nvdUScpe:2.3:a:passport-saml_project:passport-saml:*:*:*:*:*:*:*:*
- passport-saml project passport-saml= 4.0.0nvdUScpe:2.3:a:passport-saml_project:passport-saml:*:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-2368HCL BigFix: Mehrere SchwachstellenDeutsch2022-12-19csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in HCL BigFix ausnutzen, um die Verfügbarkeit, die Vertraulichkeit und die Integrität zu gefährden.
- GHSA-m974-647v-whv7Signature bypass via multiple root elements2022-10-12ghsa · osvUS
### Impact 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. ### Patches 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. ### Workarounds Disable SAML authentication. ### References _Are there any links users can visit to find out more?_ ### For more information If you have any questions or comments about this advisory: * Open a discussion in the [node-saml repo](https://github.com/node-saml/node-saml/discussions) ### Credits * Felix Wilhelm of Google Project Zero
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-39299/cnnvd
- https://github.com/node-saml/passport-saml/commit/8b7e3f5a91c8e5ac7e890a0c90bc7491ce33155ecnnvd
- https://github.com/node-saml/passport-saml/security/advisories/GHSA-m974-647v-whv7cnnvd
- https://packetstormsecurity.com/files/169826/Node-saml-Root-Element-Signature-Bypass.htmlcnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.0047cnnvd
- http://packetstormsecurity.com/files/169826/Node-saml-Root-Element-Signature-Bypass.htmlenisa_euvd
- https://github.com/node-saml/passport-saml/commit/8b7e3f5a91c8e5ac7e890a0c90bc7491ce33155eenisa_euvd
- https://github.com/node-saml/passport-saml/security/advisories/GHSA-m974-647v-whv7enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan