Improper signature verification in TIMLEGGE XML::Sig
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-347.
Summary
XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID. _get_signed_xml() in lib/XML/Sig.pm, called from verify(), resolves the SignedInfo Reference/@URI to a node with the XPath expression "//*[@ID='$id']" and returns the first node of the resulting node set. A document in which two elements share that ID value is accepted: the digest and signature are checked against whichever element comes first in document order, and the duplicate is not detected. Such a document verifies successfully while an application that resolves the same ID independently can read the second, attacker supplied element; in a SAML2 context this places the contents of an Assertion under attacker control.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA XML::Sig (TIMLEGGE) Fixed in 0.71
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
TIMLEGGE XML::Sig 0.71
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2026-08239 XML::Sig versions before 0.71 for Perl allow XPath injection in ID lookupPriority MEDIUM 48
Timeline
- 2026-10-02 Threatist record created from CVE-2026-9487
- 2026-10-03 Alias added: GHSA-wqp7-2ww4-q6mf
References
More TIMLEGGE vulnerabilities
- TI-2026-23735 Integer overflow in TIMLEGGE Crypt::NaCl::Sodium CVSS 3.1CRITICAL 9.8
- TI-2020-18981 IO::Compress::Brotli versions prior to 0.007 for Perl have an integer overflow in the bundled Brotli C library CVSS 3.1CRITICAL 9.8
- TI-2026-14905 Improper signature verification in TIMLEGGE Net::SAML2 CVSS 3.1CRITICAL 9.8
- TI-2026-08239 XML::Sig versions before 0.71 for Perl allow XPath injection in ID lookup CVSS 3.1CRITICAL 9.1
- TI-2026-10497 Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to… CVSS 3.1CRITICAL 9.1
- TI-2026-02211 Integer overflow in TIMLEGGE Crypt::NaCl::Sodium CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-9487 · CVE Program
- CVE-2026-9487 · NVD
- FIRST EPSS
- GHSA-wqp7-2ww4-q6mf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences