ZeroHour

CVE-2026-89042

niche

SAML Signature Verification Bypass in passport-saml-encrypted

CVSS 4.0
9.3 critical
EPSS
Published
()
Modified
AI analysis

passport-saml-encrypted through 0.1.13 (CWE-347, improper verification of cryptographic signature) only verifies SAML response signatures when the optional 'cert' option is configured, so applications that omit it accept unsigned assertions. An attacker can send a forged, unsigned SAML response with an arbitrary NameID and attributes directly to the application's assertion consumer service (ACS) endpoint. This yields an authenticated profile as a user of the attacker's choosing, bypassing the identity provider and granting a valid application session; CVSS 4.0 rates the issue 9.3 (critical) with network attack vector, no privileges or user interaction required. Any Node.js application using passport-saml-encrypted without a configured cert option is affected, while deployments that set cert enforce signature verification and are not exposed to this bypass. No public proof of concept is known, the flaw is not in CISA KEV, and there are no reports of exploitation in the wild.

What to do: Audit your passport-saml-encrypted strategy configuration: if the cert option is not set, add the identity provider's signing certificate so signatures are enforced, or move to a patched release when one becomes available (the available data lists no fixed version above 0.1.13). Applications that cannot set cert should consider migrating to an actively maintained SAML library. Also review ACS endpoint logs for unsigned or anomalous SAML responses that could indicate forged logins.

Affected
passport-saml-encrypted project (npm package) passport-saml-encryptedall versions through and including 0.1.13; exploitable where the optional 'cert' option is not configured
Estimated exposure
nicheunknown; plausibly hundreds to low thousands of Node.js applications (niche npm package) — No npm download or dependency counts were provided; passport-saml-encrypted is a small fork of the far more widely used passport-saml, so real-world adoption is expected to be low, and only deployments that omit the cert option are…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

passport-saml-encrypted through 0.1.13 makes SAML signature verification conditional on an optional cert option, allowing attackers to bypass authentication by submitting unsigned SAML responses. Attackers can post forged SAML responses with arbitrary NameID and attributes to the assertion consumer service endpoint to receive authenticated profiles without valid signatures.

Weakness
CWE-347
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.