{"id":"CVE-2026-89043","state":"PUBLISHED","title":"passport-saml-encrypted through 0.1.13 XML Signature Wrapping via Assertion Prepending","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.","publishedAt":"2026-09-10T17:39:33.458Z","updatedAt":"2026-09-10T17:53:56.984Z","severity":{"score":9.1,"label":"Critical","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["krakenjs passport-saml-encrypted"],"affected":[{"vendor":"krakenjs","product":"passport-saml-encrypted","packageURL":"pkg:npm/passport-saml-encrypted","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.1.13","versionType":"semver"}],"repo":"https://github.com/krakenjs/passport-saml-encrypted","collectionURL":"https://www.npmjs.com/package/passport-saml-encrypted"}],"references":["https://github.com/krakenjs/passport-saml-encrypted/issues/30","https://github.com/krakenjs/passport-saml-encrypted/blob/v0.1.13/lib/saml.js#L256","https://github.com/krakenjs/passport-saml-encrypted/blob/v0.1.13/lib/saml.js#L328","https://github.com/krakenjs/passport-saml-encrypted","https://www.vulncheck.com/advisories/passport-saml-encrypted-through-0.1.13-xml-signature-wrapping-via-assertion-prepending"],"weaknesses":["CWE-347"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89043.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89043","state":"PUBLISHED","datePublished":"2026-09-10T17:39:33.458Z","dateUpdated":"2026-09-10T17:53:56.984Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-10T16:45:09.299Z"},"containers":{"cna":{"title":"passport-saml-encrypted through 0.1.13 XML Signature Wrapping via Assertion Prepending","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"krakenjs","product":"passport-saml-encrypted","packageURL":"pkg:npm/passport-saml-encrypted","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.1.13","versionType":"semver"}],"repo":"https://github.com/krakenjs/passport-saml-encrypted","collectionURL":"https://www.npmjs.com/package/passport-saml-encrypted"}],"references":[{"url":"https://github.com/krakenjs/passport-saml-encrypted/issues/30","tags":["issue-tracking"],"name":"Reporter advisory: XML signature wrapping"},{"url":"https://github.com/krakenjs/passport-saml-encrypted/blob/v0.1.13/lib/saml.js#L256","tags":["technical-description"],"name":"Signature located by an unconstrained XPath at v0.1.13"},{"url":"https://github.com/krakenjs/passport-saml-encrypted/blob/v0.1.13/lib/saml.js#L328","tags":["technical-description"],"name":"Assertion selected by a separate first-match XPath at v0.1.13"},{"url":"https://github.com/krakenjs/passport-saml-encrypted","tags":["product"],"name":"krakenjs/passport-saml-encrypted"},{"url":"https://www.vulncheck.com/advisories/passport-saml-encrypted-through-0.1.13-xml-signature-wrapping-via-assertion-prepending","name":"VulnCheck Advisory: passport-saml-encrypted through 0.1.13 XML Signature Wrapping via Assertion Prepending","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","lang":"en","description":"Improper Verification of Cryptographic Signature","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-10T17:39:33.458Z"},"datePublic":"2026-08-11T00:00:00.000Z","credits":[{"lang":"en","value":"Yu Bao, PayPal Cyber Security Team","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/krakenjs/passport-saml-encrypted/issues/30","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-10T17:53:33.236465Z","id":"CVE-2026-89043","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-10T17:53:56.984Z"}}]}}}