CVE-2026-9487
XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID
Mitigation
- Upgrade XML::Sig to 0.71 or later.
- Vendor workaround: 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.
Who should check
- Anyone running TIMLEGGE XML::Sig < 0.71
Vulnerability facts
- Affected
- TIMLEGGE XML::Sig < 0.71
- Fixed in
- TIMLEGGE XML::Sig 0.71
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-347
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| TIMLEGGE XML::Sig | < 0.71 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-9487. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-9487.md Affected: TIMLEGGE XML::Sig < 0.71 Fixed in: TIMLEGGE XML::Sig 0.71 Steps: 1. Search this machine and project for TIMLEGGE XML::Sig: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-9487 being exploited?
There is no confirmed exploitation: CVE-2026-9487 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-9487?
Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-9487?
TIMLEGGE XML::Sig < 0.71.
Is there a fix for CVE-2026-9487?
Yes. Fixed in TIMLEGGE XML::Sig 0.71. Upgrade XML::Sig to 0.71 or later. Vendor workaround: 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.
How do I check if I'm affected by CVE-2026-9487?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.