CVE-2022-39299 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://packetstormsecurity.com/files/169826/Node-saml-Root-Element-Signature-Bypass.html | CVE | Third Party AdvisoryVDB Entry |
| https://github.com/node-saml/passport-saml/commit/8b7e3f5a91c8e5ac7e890a0c90bc7491ce33155e | CVE | PatchThird Party Advisory |
| https://github.com/node-saml/passport-saml/security/advisories/GHSA-m974-647v-whv7 | CVE | Third Party Advisory |
| http://packetstormsecurity.com/files/169826/Node-saml-Root-Element-Signature-Bypass.html | [email protected] | Third Party AdvisoryVDB Entry |
| https://github.com/node-saml/passport-saml/commit/8b7e3f5a91c8e5ac7e890a0c90bc7491ce33155e | [email protected] | PatchThird Party Advisory |
| https://github.com/node-saml/passport-saml/security/advisories/GHSA-m974-647v-whv7 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| passport-saml project passport-saml | < 3.2.2 4.0.0 beta1 4.0.0 beta2 4.0.0 beta3 4.0.0 beta4 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jan 20, 2023 | Modified Analysis | [email protected] |
| Nov 14, 2022 | CVE Modified | [email protected] |
| Oct 14, 2022 | Initial Analysis | [email protected] |