CVE-2026-89043 Details
Description
passport-saml-encrypted through 0.1.13 contains an XML signature wrapping vulnerability where signature verification and assertion extraction use independent XPath lookups with no cross-validation. Attackers holding any validly signed SAML message can prepend a forged unsigned assertion that gets accepted as the verified identity while the genuine signature validates against the original assertion.
A vulnerability exists in the passport-saml-encrypted library, specifically in versions through 0.1.13. This vulnerability involves XML signature wrapping, where the process of signature verification and assertion extraction is flawed. The library uses separate XPath lookups for verification and extraction, without cross-referencing them. As a result, an attacker can prepend a forged, unsigned assertion to a validly signed SAML message. The library will accept the forged assertion as verified, allowing the attacker to impersonate an identity while the genuine signature remains intact.
To address this vulnerability, it is recommended to modify the signature verification process to ensure it is correctly linked to the corresponding assertion extraction. This can be done by resolving the signature reference to the exact element it covers and verifying that it matches the assertion used for profile extraction. Additionally, implement checks to reject documents with duplicate ID attributes and incorporate regression tests for known XML signature wrapping payloads.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 10, 2026CISA-ADP
Assessed Sep 10, 2026References 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) |
|---|---|---|
| https://github.com/krakenjs/passport-saml-encrypted/issues/30 | CISA-ADP | ExploitIssue TrackingTechnical AnalysisVendor |
| https://github.com/krakenjs/passport-saml-encrypted | [email protected] | Vendor |
| https://github.com/krakenjs/passport-saml-encrypted/blob/v0.1.13/lib/saml.js#L256 | [email protected] | Source CodeVendor |
| https://github.com/krakenjs/passport-saml-encrypted/blob/v0.1.13/lib/saml.js#L328 | [email protected] | Source CodeVendor |
| https://github.com/krakenjs/passport-saml-encrypted/issues/30 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/passport-saml-encrypted-through-0.1.13-xml-signature-wrapping-via-assertion-prepending | [email protected] | AdvisoryBundleRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| krakenjs passport-saml-encrypted | <= 0.1.13 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 10, 2026 | New CVE Received | [email protected] |
| Sep 10, 2026 | CVE Modified | CISA-ADP |
Volerion