Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
High
Published: 08/03/2026 (08/03/2026, 15:32:47 UTC)
Source: CVE Database V5
Vendor/Project: TIMLEGGE
Product: Net::SAML2

Description

Net::SAML2 versions before 0.86 for Perl allow SAML authentication bypass by verifying responses against the response-embedded certificate in verify_xml when no trust anchor is configured. verify_xml in Net::SAML2::Role::VerifyXML runs "return if !$anchors && !$cacert;" as soon as the XML::Sig check succeeds, and that check uses the X.509 certificate taken from the response's own dsig:KeyInfo/dsig:X509Certificate element, so an unanchored response is checked only against the key it carries. Binding::POST declares cacert as an optional Maybe[Str] with no default, so a POST binding built without one takes that path, and _verify_encrypted_assertion returns early the same way with "return $xml unless $cacert;". Any caller that constructs Binding::POST or calls Assertion->new_from_xml without a cacert, cert_text, or anchors argument accepts a response signed by an attacker generated key whose self-signed certificate is embedded in that response, authenticating an arbitrary assertion.

CVSS v3.1

Score 7.5high

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

Affected software

GitHub Actionsmore threats →cve
Net-SAML2
pkg:github/Net-SAML2
Affected versions
<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/03/2026, 13:53:27 UTC

Technical Analysis

The vulnerability in Net::SAML2 before version 0.86 arises from improper verification of cryptographic signatures (CWE-347). The verify_xml method returns early if no trust anchors or CA certificates are provided, relying solely on the certificate embedded in the SAML response. Since this certificate is attacker-controlled and self-signed, the signature verification effectively validates the response against an untrusted key, enabling authentication bypass. This flaw is due to the Binding::POST class allowing optional CA certificates with no default, leading to unanchored signature verification when omitted.

Potential Impact

An attacker can bypass SAML authentication by submitting a response signed with a self-signed certificate embedded in the response, which the system incorrectly trusts. This allows authentication as an arbitrary user or entity without possessing a valid trusted certificate, compromising the authentication mechanism's integrity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, ensure that all SAML response verifications are performed with properly configured trust anchors or CA certificates to prevent acceptance of untrusted signatures. Avoid constructing Binding::POST or calling Assertion->new_from_xml without specifying trusted certificate parameters.

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-28T16:26:10.967Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7098b0bf32cb7a34a822a3

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

Last enriched: 08/03/2026, 13:53:27 UTC

Last updated: 08/04/2026, 00:52:29 UTC

Views: 5

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