Skip to main content

passport-saml-encrypted CVE-2026-89042

| EUVDEUVD-2026-75631 CRITICAL
Improper Verification of Cryptographic Signature (CWE-347)
2026-09-10 VulnCheck GHSA-vw3m-3x7w-24g8
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover SAML SSO ACS endpoint
  2. Delivery
    Craft unsigned SAML response with attacker NameID
  3. Exploit
    POST forged response to ACS
  4. Execution
    Library skips signature check (no cert)
  5. Impact
    Receive authenticated session as arbitrary user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
Exploitation Conditions

Exploitation requires that the passport-saml-encrypted strategy be initialized WITHOUT the optional 'cert' (IdP signing certificate) option - that missing/optional configuration is exactly what disables signature verification and is the concrete precondition. The attacker must be able to reach the application's SAML assertion consumer service (ACS) endpoint over the network and know or guess a valid target NameID/attribute schema. No authentication, credentials, user interaction, or non-network position is needed. The primary limiting factor is that deployments which DO configure 'cert' are not vulnerable, and the affected package is a niche npm library, bounding real-world exposure.

Impact

This is a genuine high-priority issue for any deployment using the library without a configured 'cert'. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:H/VI:H) score of 9.3 is consistent with the description: fully remote, no authentication, no user interaction, and no special attack requirements, yielding a complete confidentiality and integrity compromise of the authenticated session. No EPSS score, KEV listing, or public POC was provided, so there is no evidence of active exploitation yet - but the exploit primitive (POST a hand-crafted unsigned SAML response) requires no memory-corruption skill and is well within reach of any attacker who understands SAML, so any team running this in an SSO path should treat it as urgent rather than waiting for exploitation signals. The main risk-limiting factor is deployment scope: this is an obscure fork/variant, and only instances that omit the 'cert' option are vulnerable. Note the input tags 'Denial Of Service' and 'Jwt Attack' are both wrong - the impact is authentication bypass (confidentiality/integrity), and the technology is SAML/XML-DSig, not JWT.

Exploit ScenarioDerived

An attacker enumerates an application's SAML SSO login and locates its assertion consumer service (ACS) URL. They craft an unsigned SAML response asserting NameID 'admin@victim.com' with elevated attributes and POST it directly to the ACS endpoint; because the deployment did not configure the IdP 'cert', the library skips signature validation and issues an authenticated session for that identity. No POC is published, but the attack requires only a scripted HTTP POST and basic SAML knowledge.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 10, 2026

Authentication bypass in the passport-saml-encrypted npm library (krakenjs) through version 0.1.13 lets remote unauthenticated attackers forge SAML assertions. Because signature verification is gated on the optional 'cert' configuration option, deployments that omit it accept unsigned SAML responses, allowing an attacker to POST a forged response with an arbitrary NameID and attributes to the assertion consumer service (ACS) endpoint and be logged in as any user. Reported by VulnCheck; no public exploit identified at time of analysis and it is not in CISA KEV, though the flaw is trivially exploitable once discovered.

RemediationAI

No vendor-released patched version was identified at time of analysis (the references point to a project issue and vulnerable source lines, not a tagged fix release), so treat the primary mitigation as configuration hardening: explicitly set the 'cert' option to the trusted IdP's signing certificate in every use of the strategy so that signature verification is always enforced, and reject responses that are not signed by that certificate. As a code-level control, audit initialization to ensure the library never runs without 'cert', and consider migrating to a maintained SAML library (e.g. @node-saml/passport-saml) that fails closed on missing certificates. Compensating controls include restricting the ACS endpoint to expected network paths and enabling WAF/log monitoring for SAML responses lacking a Signature element; these reduce but do not eliminate risk since a valid SSO request path must remain reachable. Track https://github.com/krakenjs/passport-saml-encrypted/issues/29 and the VulnCheck advisory for a released fix version.

Affected VersionsENISA

passport-saml-encrypted 0 ≤0.1.13

Affected Packages

euvd passport_saml_encrypted no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

passport-saml-encrypted is a Passport.js strategy for SAML 2.0 single sign-on with encrypted assertion support, distributed via npm under the krakenjs org (cpe:2.3:a:krakenjs:passport-saml-encrypted). The root cause is CWE-347 (Improper Verification of Cryptographic Signature): in lib/saml.js (referenced around lines 296 and 321 of the v0.1.13 tag), the code only enforces XML-DSig validation of the SAML response/assertion when a 'cert' (IdP public certificate) option is supplied. SAML's entire trust model depends on the Service Provider cryptographically validating that an assertion was signed by the trusted Identity Provider; making that check conditional means a Relying Party that has not explicitly configured the IdP certificate will treat any well-formed, unsigned assertion as authentic.

Know when Passport Saml Encrypted gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.1 CRITICAL

Remote, unauthenticated, no interaction POST to the ACS forges any identity, giving full session confidentiality and integrity impact but no availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:N/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The passport-saml-encrypted npm package (krakenjs, ≤0.1.13) contains a critical authentication bypass that allows unauthenticated attackers to forge SAML assertions and assume the identity of any user. Organizations relying on this library are at immediate risk of account compromise and unauthorized system access if their deployments omit the optional certificate configuration.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Enforce the 'cert' configuration parameter in all SAML deployments and validate that signature verification is active. Implement application-layer SAML response validation as a secondary control independent of the library. Monitor authentication logs for successful logins with unusual attributes or NameID values. Network segmentation limiting access to ACS endpoints and IP allowlisting for identity providers provide additional defense in depth. Consider temporary SAML service disablement pending patch availability or migration to alternative libraries.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Rare
obscure npm SAML fork, minimal production footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy