External risk intelligence

SimpleSAMLphp SAML2 Signature Verification Bypass

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-142239

SimpleSAMLphp is a core identity provider component designed to handle authentication and identity federation. These services act as gateways for authentication traffic and are intentionally public-facing in normal deployments to allow users and external service providers to connect to identity services over the internet.

Halo Surface Signal: 5 out of 5 — more likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory concerns a critical vulnerability in the SimpleSAMLphp SAML2 library that allows attackers to bypass signature verification. This bypass could enable the creation of forged authentication or logout requests, potentially impersonating trusted partners. The primary concern is to confirm if our environment utilizes this specific library and is exposed to this threat.

  • Bypasses SAML security checks.
  • Allows impersonation of trusted systems.
  • Confirm use and exposure.

Attack Path

How an attacker could exploit the issue

Attackers can forge authentication requests or logout requests by signing them with a publicly known private key, allowing them to impersonate trusted parties. This bypasses signature verification within the SAML2 library, potentially leading to unauthorized access or session termination for users.

  • Entry condition: Publicly known private key.
  • Trigger point: Signing SAML requests/responses.
  • Resulting risk: Trusted peer impersonation.

Live Threat

Current exploitation, exposure, and threat context

The SimpleSAMLphp SAML2 library's signature verification bypass could allow remote attackers to forge authentication or logout requests. This may enable them to impersonate trusted parties and potentially disrupt authenticated sessions.

  • Identity provider authentication could be compromised.
  • Attackers forge requests using a public key.
  • Unauthorized access or session disruption may occur.

Operational Fix

Recommended remediation, mitigation, and detection steps

The affected SimpleSAMLphp SAML2 library, often used as a core identity provider, requires action from infrastructure and security teams. The first step is to identify all instances of this technology, confirm their exposure and criticality, and then identify the accountable owners to plan remediation.

  • Identity and infrastructure teams own this.
  • Verify public reachability and business criticality.
  • Plan remediation and coordinate with vendors.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the SimpleSAMLphp SAML2 library?

SimpleSAMLphp is a software library widely used to implement SAML (Security Assertion Markup Language), a standard for exchanging authentication and authorization data. It acts as a core identity provider component, enabling single sign-on capabilities and identity federation. Organizations use it to manage how users log in across different web applications and services, making it a critical bridge in secure identity management workflows.

What does this signature verification bypass mean?

This vulnerability, classified as CWE-321 (Use of Hard-coded Cryptographic Key), occurs because the library incorrectly checks signatures against a public test key instead of the expected peer key. In plain terms, an attacker can use a publicly known private key to sign malicious messages. Because the software mistakenly accepts this key as valid, it will treat forged requests as legitimate, allowing the attacker to impersonate trusted partners.

How do attackers trigger this CVE-2026-142239 vulnerability?

An attacker triggers this by sending a specifically crafted SAMLRequest or SAMLResponse signed with the publicly distributed private key. The flaw specifically affects the HTTPRedirect::receive() method. It is important to note that this does not require a compromised secret key; the vulnerability exists because the system relies on an insecure key that is already accessible to the public, facilitating the bypass.

Is my system at risk according to Halo Surface Signal?

Halo Surface Signal indicates this is a high-priority concern because SimpleSAMLphp typically serves as a gateway for authentication traffic. Since these components are often intentionally configured to be internet-facing to facilitate external service provider connections, they are frequently exposed to remote actors. If your instance is reachable over the internet, it likely faces a greater risk of this signature bypass.

How should I respond if I use this library?

Your first step is to inventory your environment to locate all instances of the SimpleSAMLphp SAML2 library. Once identified, confirm the specific version in use against the patched versions listed in the advisory. Work with your infrastructure and security teams to verify if those instances are internet-facing and plan the necessary software updates to move to a non-vulnerable version.

References