patchminder
No public exploit found CVE-2026-9487

Signature bypassin TIMLEGGE XML::Sig.

Published 3 Aug 2026 · Updated 3 Aug 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Critical 9.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.2% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 0.71 or later
In plain words

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.

What to do now
  • Upgrade XML::Sig to 0.71 or later.
  • Can't upgrade today? Signing the outermost <samlp:Response> element rather than only the inner <saml:Assertion> reduces exposure, but does not prevent wrapping variants in which the duplicate ID is introduced outside the signed element. Upgrading to 0.71 is the complete fix.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
XML::Sig
before 0.71
0.71
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 24 May 2026
    CVE ID reserved by CPANSec.
  2. 3 Aug 2026
    Published in the CVE List.
  3. 3 Aug 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other XML::Sig vulnerabilities

Same weakness: Improper verification of cryptographic signature

All CWE-347 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-9487: Signature bypass in TIMLEGGE XML::Sig. https://patchminder.com/cve/cve-2026-9487/ (accessed 5 December 2026).