External risk intelligence

Net::SAML2 Authentication Bypass Vulnerability.

CVE advisorySeverity: CRITICAL (CVSS 9.8)

CVE-2026-18108

The vulnerability affects a SAML assertion consumer service, which is a core component of identity portals and SSO gateways. These services are public-facing by design in normal use to facilitate authentication from external identity providers, making them directly reachable over the internet.

Authentication Bypass

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 addresses a critical vulnerability in how certain Perl applications handle encrypted identity information. The issue allows an unauthenticated party to bypass standard security checks and potentially impersonate any user by crafting specially manipulated data. This could impact services that rely on this specific Perl module for secure user authentication.

  • Bypass user verification in identity systems.
  • Impacts public-facing authentication services.
  • Confirm relevance and verify affected systems.

Attack Path

How an attacker could exploit the issue

An attacker can impersonate any user by sending a specially crafted SAML assertion to a vulnerable service. The attacker starts by obtaining the Service Provider's (SP) encryption certificate from its public metadata. They then create an unsigned SAML assertion, encrypt it using the SP's certificate, and send it to the SP's assertion consumer service. If the SP's SAML library is configured to accept encrypted assertions without proper signature verification, the attacker can bypass authentication and assume the identity of any user.

  • Requires network access to the service.
  • Unsigned, encrypted assertion triggers bypass.
  • Risk of arbitrary user impersonation.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow an unauthenticated party to bypass authentication and impersonate any user when an affected service is configured to decrypt encrypted SAML assertions. This occurs because the system fails to verify the signature on decrypted assertions under certain conditions, enabling the acceptance of unverified identity information.

  • User identities and associated attributes.
  • Decryption of unsigned assertions.
  • Unauthorized access as any user.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability impacts systems configured to accept and decrypt SAML `EncryptedAssertions` without a signature. Application owners responsible for SAML integrations and infrastructure teams managing identity services should investigate their `Net::SAML2` deployments. The immediate first step is to identify all instances of `Net::SAML2` that are configured with a decryption key file, assess their exposure and criticality, and then plan for remediation or mitigation.

  • Own the SAML integration.
  • Verify decryption key file usage.
  • Plan remediation based on risk.

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 Net::SAML2 and why is it used?

Net::SAML2 is a Perl library designed for the Security Assertion Markup Language (SAML). Developers use it to build Service Providers, which are components in web applications that handle user login processes, enabling Single Sign-On (SSO) by processing identity data shared between different systems.

How does CVE-2026-18108 affect authentication?

This vulnerability is an Improper Verification of Cryptographic Signature (CWE-347). The library fails to confirm if an encrypted assertion is signed before trusting it. If a decrypted assertion lacks a signature, the system incorrectly assumes it is valid, allowing the processing of unverified identity data.

When does this vulnerability trigger?

It triggers when a system using an affected version is configured with a decryption key file to process EncryptedAssertions. If the system is not configured to perform decryption, it does not reach the vulnerable code path and remains unaffected by this specific flaw.

Is my service at risk?

According to Halo Surface Signal, this vulnerability is particularly relevant to public-facing identity portals and SSO gateways. Because these services must be reachable over the internet to receive assertions from identity providers, any vulnerable instance is directly accessible to potential attackers.

What are the first steps to address this?

Check your Perl application configurations to determine if the Net::SAML2 module is in use and if a decryption key file is configured. Prioritize auditing all systems that accept encrypted SAML assertions, as these represent the primary attack surface, and prepare to update the library to a secure version.

References