CVE-2026-33487
github.com/russellhaering/goxmldsig: goxmlsig: Integrity bypass due to incorrect XML Digital Signature validation via loop variable capture issue
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-347, CWE-682
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | github.com/russellhaering/goxmldsig | <1.6.0 | 1.6.0 |
Open a package to see all its vulnerabilities.
Operating systems · 47 fixes
chainguard 1 release · 31 packages
| Release | Package | Fixed in |
|---|---|---|
| omni +1 | 1.6.1-r2 | |
| mattermost-10-11 +1 | 10.11.13-r2 | |
| mattermost-fips-11-0 | 11.0.7-r2 | |
| mattermost-11-1 +1 | 11.10.0-r0 | |
| mattermost-11-4 +1 | 11.4.3-r2 | |
| mattermost-11-5 +1 | 11.5.1-r2 |
25 more rows
minimos 1 release · 10 packages
| Release | Package | Fixed in |
|---|---|---|
| signoz | 0.132.1-r0 | |
| signoz-fips | 0.132.2-r0 | |
| mattermost-11-4-fips | 11.4.5-r4 | |
| mattermost-11-5-fips | 11.5.7-r4 | |
| teleport-17 +1 | 17.7.23-r0 | |
| teleport-18 +1 | 18.7.6-r0 |
4 more rows
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | velociraptor | 0.7.0.4.git185.a5708584-2.1 | openSUSE-SU-2026:11126-1 |
wolfi 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| mattermost-11-1 | 11.10.0-r0 | |
| mattermost-11-5 | 11.5.1-r2 | |
| teleport-18-6 | 18.6.8-r6 | |
| rancher-2-13 +1 | 2.13.3-r4 | |
| dex | 2.45.1-r4 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:13548
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:20943
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:20946
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:21769
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22347
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22423
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:23345
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:36882
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-33487
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2451814
Show all 15 references
- github.com https://github.com/russellhaering/goxmldsig
- github.com https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-479m-364c-43vc
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-33487
- security.access.redhat.com https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33487.json
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-33487
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.