CVE-2026-33487: goxmldsig has validateSignature Loop Variable Capture Signature Bypass
goxmlsig provides XML Digital Signatures implemented in Go. Prior to version 1.6.0, the `validateSignature` function in `validate.go` goes through the references in the `SignedInfo` block to find one that matches the signed element's ID. In Go versions before 1.22, or when `go.mod` uses an older version, there is a loop variable capture issue. The code takes the address of the loop variable `_ref` instead of its value. As a result, if more than one reference matches the ID or if the loop logic is incorrect, the `ref` pointer will always end up pointing to the last element in the `SignedInfo.References` slice after the loop. goxmlsig version 1.6.0 contains a patch.
Security readout for executives and security teams
Plain-English summary
This flaw can let software using goxmldsig accept an XML digital signature check incorrectly. In business terms, systems that rely on signed XML for trust decisions could treat tampered or unintended content as valid. The known fixed version is goxmldsig 1.6.0.
Executive priority
Treat as high priority for systems where XML signature validation protects identity, authorization, or transaction integrity. Patch affected dependencies promptly, but avoid emergency assumptions about exploitation because the supplied sources do not show active abuse.
Technical view
Before goxmldsig 1.6.0, validateSignature can capture the address of a loop variable while selecting SignedInfo references. Under older Go loop semantics, the selected reference pointer may resolve to the last reference, enabling a signature validation bypass. The CVSS 3.1 score is 7.5 with high integrity impact.
Likely exposure
Exposure is most likely in Go applications or vendor products that import github.com/russellhaering/goxmldsig below 1.6.0 and validate XML signatures for authentication, authorization, SAML-like assertions, or document integrity.
Exploitation context
The source bundle does not show CISA KEV listing or other evidence of active exploitation. The issue is remotely relevant where attackers can submit signed XML to affected validation code, but no exploit steps are provided in the cited sources.
Researcher notes
The core bug is loop variable address capture in validate.go during SignedInfo reference selection. Go 1.22 loop semantics matter, but the source names goxmldsig before 1.6.0 as affected and 1.6.0 as patched.
Mitigation direction
Upgrade goxmldsig to version 1.6.0 or later.
Check vendor advisories for Red Hat-packaged affected components.
Prioritize systems where XML signatures drive trust or access decisions.
Rebuild and redeploy applications after dependency updates.
If unable to upgrade, seek vendor guidance for supported mitigations.
Validation and detection
Inventory direct and transitive uses of github.com/russellhaering/goxmldsig.
Flag versions older than 1.6.0 in Go dependency manifests.
Identify services that accept externally supplied signed XML.
Confirm runtime builds use the remediated dependency version.
Review Red Hat VEX and RHSA entries for package-specific status.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-347: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
ADP timelineredhat-SADP
Made public.
Mar 26, 2026, 17:17 UTC (UTC+00:00)
CVE publishedCVE Program
The CVE record was published.
Mar 26, 2026, 17:17 UTC (UTC+00:00)
ADP timelineredhat-SADP
Reported to Red Hat.
Mar 26, 2026, 18:02 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.
Jul 9, 2026, 12:09 UTC (UTC+00:00)
ADP provider summaries
CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPgithub.com/russellhaering/goxmldsig: goxmlsig: Integrity bypass due to incorrect XML Digital Signature validation via loop variable capture issue
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-347 · source CWE mapping
Improper Verification of Cryptographic Signature
Improper Verification of Cryptographic Signature represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Incorrect Calculation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.