Skip to main content
EPSS 0.2%top 94%

CVE-2026-9487: CWE-347 Improper Verification of Cryptographic Signature in TIMLEGGE XML::Sig

0
Critical
Published: 08/03/2026 (08/03/2026, 13:14:43 UTC)
Source: CVE Database V5
Vendor/Project: TIMLEGGE
Product: XML::Sig

Description

XML::Sig versions before 0.71 for Perl contain a critical vulnerability that allows signature wrapping via duplicate ID values. The _get_signed_xml() function resolves SignedInfo Reference/@URI by selecting the first node with a matching ID, but does not detect if multiple elements share that ID. This can cause a document with duplicate IDs to verify successfully while an attacker controls the second element, potentially compromising SAML2 assertions.

CVSS v3.1

Score 9.1critical

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

Affected software

TIMLEGGE

XML::Sig

Affected versions
>=0 <0.71
GitHub Actionsmore threats →cve
XML-Sig
pkg:github/XML-Sig
Affected versions
>=0 <0.71

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:59:12 UTC

Technical Analysis

CVE-2026-9487 is a critical vulnerability in XML::Sig versions prior to 0.71 where improper verification of cryptographic signatures occurs due to duplicate ID values in XML documents. The function _get_signed_xml() uses an XPath expression to select the first node matching a given ID but does not detect duplicates. This allows an attacker to craft a document with two elements sharing the same ID, where the signature verification checks the first element but an application may process the second, attacker-controlled element. In SAML2 contexts, this can lead to assertion manipulation under attacker control. The vulnerability is classified as CWE-347 (Improper Verification of Cryptographic Signature) and has a CVSS 3.1 base score of 9.1 (critical).

Potential Impact

An attacker can exploit this vulnerability to bypass signature verification by using duplicate ID values in XML documents, enabling signature wrapping attacks. This can lead to unauthorized manipulation of signed data, such as SAML2 assertions, potentially allowing attackers to impersonate users or escalate privileges. The vulnerability affects confidentiality and integrity but does not impact availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid processing XML documents with duplicate ID attributes or implement additional checks to detect and reject documents containing duplicate IDs during signature verification.

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-05-24T13:47:37.954Z
State
PUBLISHED

Threat ID: 6a7098b3bf32cb7a34a82350

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

Last enriched: 08/10/2026, 14:59:12 UTC

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

Views: 62

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