CVE-2026-18108: CWE-347 Improper Verification of Cryptographic Signature in TIMLEGGE Net::SAML2
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.
AI Analysis
Technical Summary
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.
CVE-2026-18108: CWE-347 Improper Verification of Cryptographic Signature in TIMLEGGE 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
Affected software
TIMLEGGE
Net::SAML2
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.