Skip to main content
EPSS 0.2%top 87%

CVE-2026-18108: CWE-347 Improper Verification of Cryptographic Signature in TIMLEGGE Net::SAML2

0
Critical
Published: 08/03/2026 (08/03/2026, 13:00:23 UTC)
Source: CVE Database V5
Vendor/Project: TIMLEGGE
Product: Net::SAML2

Description

Net::SAML2 versions before 0.86 for Perl contain a critical vulnerability that allows authentication bypass. The vulnerability arises because the _verify_encrypted_assertion function accepts encrypted assertions without verifying cryptographic signatures if no signature element is present. This allows unauthenticated attackers to forge assertions encrypted to a service provider's encryption certificate and authenticate as arbitrary users. Systems that do not configure a decryption key_file are not affected.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

TIMLEGGE

Net::SAML2

Affected versions
>=0 <0.86
GitHub Actionsmore threats →cve
Net-SAML2
pkg:github/Net-SAML2
Affected versions
>=0 <0.86

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 14:55:34 UTC

Technical Analysis

CVE-2026-18108 is a critical vulnerability in Net::SAML2 versions prior to 0.86 where the _verify_encrypted_assertion function improperly verifies cryptographic signatures. Specifically, if an EncryptedAssertion decrypts to XML without a dsig:Signature element, the function returns the assertion as verified without performing signature or trust anchor checks. Since service providers publish their encryption certificates in SAML metadata, attackers can encrypt unsigned assertions to these certificates and submit them to the assertion consumer service, effectively bypassing authentication. This affects any caller that configures a decryption key_file to accept EncryptedAssertions. Callers without a key_file configured do not decrypt and are unaffected.

Potential Impact

An unauthenticated attacker can bypass authentication by submitting encrypted assertions lacking valid cryptographic signatures. This leads to a complete compromise of authentication, allowing the attacker to impersonate arbitrary users. The vulnerability impacts confidentiality, integrity, and availability of the authentication process, with a CVSS score of 9.8 indicating critical severity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid configuring a decryption key_file to accept EncryptedAssertions if possible. Monitor vendor communications for an official fix or update to Net::SAML2 version 0.86 or later that addresses this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-07-28T17:55:20.903Z
State
PUBLISHED

Threat ID: 6a7098b0bf32cb7a34a822ad

Added to database: 08/03/2026, 13:33:36 UTC

Last enriched: 08/10/2026, 14:55:34 UTC

Last updated: 09/17/2026, 22:01:33 UTC

Views: 35

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses