# CVE-2026-33487: goxmldsig has validateSignature Loop Variable Capture Signature Bypass

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-18T20:18:22.000Z
- Modified: 2026-09-10T03:50:37.081Z
- Also known as: GHSA-479m-364c-43vc, GO-2026-4753
- Related: CGA-q6q9-f5cq-5pgw
- Weaknesses: CWE-347, CWE-682
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- russellhaering goxmldsig: < 1.6.0
- multicluster-globalhub/multicluster-globalhub-grafana-rhel9: no versions given (not affected: from 1779212259 before *; from 1779579439 before *; from 1780167118 before *; from 1778867753 before *)
- rhacm2/acm-grafana-rhel9: no versions given (not affected: from 1782693386 before *; from 1777142269 before *)
- openshift-gitops-1/dex-rhel8: no versions given (not affected: from 1779116359 before *; from 1779209965 before *)
- advanced-cluster-security/rhacs-main-rhel8: no versions given
- advanced-cluster-security/rhacs-rhel8-operator: no versions given
- advanced-cluster-security/rhacs-roxctl-rhel8: no versions given
- advanced-cluster-security/rhacs-scanner-v4-rhel8: no versions given
- grafana: no versions given
- github.com/russellhaering/goxmldsig (Go): before 1.6.0
- goxmldsig_project goxmldsig: before 1.6.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-479m-364c-43vc> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-33487> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2451814> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33487.json>
- <https://access.redhat.com/errata/RHSA-2026:22423> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:22347> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:23345> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36882> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:13548> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:20946> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:20943> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21769> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33487> (advisory)
- <https://github.com/russellhaering/goxmldsig> (package)

## Sources

- CVE List: [CVE-2026-33487](https://www.cve.org/CVERecord?id=CVE-2026-33487), CVE Terms of Use, modified 2026-09-09
- GitHub Advisory Database: [GHSA-479m-364c-43vc](https://github.com/advisories/GHSA-479m-364c-43vc), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4753](https://pkg.go.dev/vuln/GO-2026-4753), CC-BY-4.0, modified 2026-03-30
- NVD: [CVE-2026-33487](https://nvd.nist.gov/vuln/detail/CVE-2026-33487), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-33487 · Whole record: https://cve.day/CVE-2026-33487.json · Rebuilt by cve.day 2026-11-25T22:59:17.084Z
