Skip to content
CVE Alert: CVE-2026-89043 – krakenjs – passport-saml

CVE Alert: CVE-2026-89043 – krakenjs – passport-saml

Redpacketsecurity •admin • September 11, 2026

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.

High-risk identity impersonation flaw requiring urgent review wherever this authentication middleware processes externally supplied SAML responses; public proof-of-concept evidence increases exploitation concern, although active exploitation is not confirmed.

An attacker with access to any legitimately signed SAML message may be able to substitute identity attributes without possessing the signing key. The practical impact is account takeover, privilege abuse and access to confidential applications, particularly where authorisation decisions rely directly on SAML claims. Exploitation is not necessarily broad or automated, but successful attacks could be difficult to distinguish from valid federation logins.

### Most likely attack path

The attacker sends a crafted SAML response over the network, requiring no prior application privileges or victim interaction. A valid signed message is a required precondition; the forged assertion is then positioned so that separate XML lookups validate the genuine content but consume attacker-controlled identity data. Scope is unchanged, so direct lateral movement is not inherent, but compromised accounts may provide access to multiple federated services.

### Who is most exposed

Organisations using this package in internet-facing Node.js applications, especially custom SSO gateways, partner portals and administrative platforms, are most exposed. Risk is higher where claims map directly to roles or privileged groups.

Alert on SAML responses containing multiple assertions or unusual assertion ordering.

Compare the signed reference target with the assertion used for identity extraction.

Hunt for unexpected privileged logins following unusual federation responses.

Review authentication logs for new accounts, role changes or access from atypical networks.

### Mitigation and prioritisation

Upgrade to a vendor-fixed release or replace the dependency; do not rely on configuration alone.

Enforce strict single-assertion, reference-bound signature validation at the federation boundary.

Temporarily restrict high-risk SSO applications or require step-up authentication.

Test changes with identity-provider and role-mapping regression cases.

EPSS and KEV status are not provided, so prioritisation should be refined with exposure and telemetry.

A considerable amount of time and effort goes into maintaining this website, creating backend automation and creating new features and content for you to make actionable intelligence decisions. Everyone that supports the site helps enable new functionality.

If you like the site, please support us on Patreon or Buy Me A Coffee using the buttons below.

Extracted Entities

Attack Types (1)

Tools (1)