CVE-2026-9487: 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
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.
Details
Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-9487
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-9487 | coverage & exploitation status | NVD · CVE.org |
Recent advisories for XML
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- unknownCVE-2026-9390: XML::Sig versions before 0.71 for Perl allow XPath injection in ID lookup. verify() and _get_si…nvd · 2026-08-03
- unknownCVE-2026-18092: Net::SAML2 versions before 0.86 for Perl allow SAML authentication bypass via XML signature wr…nvd · 2026-08-03
- unknownCVE-2026-18089: Net::SAML2 versions before 0.86 for Perl allow SAML authentication bypass by verifying respons…nvd · 2026-08-03
- highGHSA-xh95-f55m-82fw: Natural Language Toolkit (NLTK) has path traversal in FramenetCorpusReader.frame() that a…ghsa · 2026-07-31
- mediumCVE-2026-52857: Wings is the server control plane for Pterodactyl, a free, open-source game server management …nvd · 2026-07-31
- highCVE-2026-56670: ComfyUI is a modular diffusion model GUI, api and backend with a graph/nodes interface. Prior …nvd · 2026-07-31
More from NVD Recent CVEs
- unknownCVE-2026-9390: XML::Sig versions before 0.71 for Perl allow XPath injection in ID lookup. verify() and _get_si…2026-08-03
- highCVE-2026-69097: GitPython before 3.1.53 fails to properly escape section names in git config files, allowing a…2026-08-03
- highCVE-2026-69096: OpenWrt luci-app-dockerman (LuCI master and openwrt-25.12 snapshots containing the ucode docke…2026-08-03
- highCVE-2026-69095: OpenWrt luci-app-bmx7 before commit 5890760a454dad2cb00389dba2cdc5e779e0ffdd contains a path t…2026-08-03
- mediumCVE-2026-69094: Admidio before 5.0.11 contains an insecure direct object reference vulnerability in the save_t…2026-08-03