Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-89043 – Authentication Bypass via XML Signature Wrapping – passport-saml-encrypted ≤ 0.1.13

Be the first to know when new zero-days emerge:

Summary

CVE-2026-89043 is a critical XML Signature Wrapping (XSW) vulnerability in passport-saml-encrypted, a Node.js Passport strategy for encrypted SAML authentication. The flaw allows any attacker in possession of a single validly signed SAML message to forge a completely different identity assertion — including admin-level roles — that the library accepts as cryptographically verified. The issue is rated critical severity (CVSS v4.0 9.1) and affects all published versions through 0.1.13.

Technical details

  • Root cause: lib/saml.js performs signature verification and assertion extraction as two independent, uncoordinated XPath lookups. The signature-verification routine locates and validates the first <Signature> element it finds, while a separate routine independently selects the first <Assertion> element to extract identity/attribute data for the authenticated session.
  • Missing control: Nothing in the code resolves the signature’s <Reference URI="#..."> back to a specific, unambiguous element and confirms it is the same node used for attribute/identity extraction — the two operations never cross-validate that they examined the same assertion.
  • Trigger conditions: An attacker who possesses any validly signed SAML response or assertion (e.g., their own legitimate IdP-issued response) can prepend an additional, unsigned, forged <Assertion> element earlier in the document. The library’s signature check still validates true (against the original, legitimate assertion), while its attribute-extraction logic picks up the attacker-controlled forged assertion instead.
  • Attack vector: Network-based; no user interaction is required and no elevated privileges are needed beyond holding one legitimately signed SAML message, making this exploitable by any authenticated (even low-privileged) user of the SAML flow.
  • Impact: Full authentication/identity bypass — an attacker can impersonate arbitrary users, including administrative or high-privilege accounts, by controlling the username, email, and role attributes accepted by the relying application. Confidentiality and integrity impacts are high; availability is not affected.

Affected software

  • passport-saml-encrypted (npm package, krakenjs), all versions 0 through 0.1.13 (inclusive)

Severity

  • CVSS v3.1 Base Score: 7.4 (High) — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
  • CVSS v4.0 Base Score: 9.1 (Critical) — 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
  • CWE-347: Improper Verification of Cryptographic Signature

Mitigation and recommended actions

  • Immediate: No patched release is currently available for passport-saml-encrypted; all versions through 0.1.13 remain affected. Security teams should treat any deployment of this package as vulnerable and prioritize remediation.
  • Workarounds (no patch available):
    • Discontinue use of passport-saml-encrypted and migrate to an actively maintained SAML library that binds signature verification to the specific assertion node referenced by the signature (e.g., resolves <Reference URI> to a single, unambiguous element before trusting it).
    • If migration is not immediately feasible, apply a custom patch that rejects SAML documents containing multiple <Assertion> elements, or that explicitly resolves the signature’s reference URI to the exact assertion element before extracting attributes, rejecting the message if they do not match.
    • Reject SAML responses/assertions containing duplicate ID attributes or multiple assertions where only one is expected.
    • Restrict which identity providers and SAML endpoints are trusted, and monitor SAML traffic for responses containing more than one <Assertion> element, which is a strong indicator of signature-wrapping attempts.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge