Skip to content

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

HighCVSS 7.5 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
Red Hat

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.

Upgrade path

16 packages: 5 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1778867753(Red Hat multicluster_globalhub 1.5 el9) All versions No fix listed No fix yet
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779212259(Red Hat multicluster_globalhub 1.3 el9) All versions No fix listed No fix yet
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779579439(Red Hat multicluster_globalhub 1.4 el9) All versions No fix listed No fix yet
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1780167118(Red Hat multicluster_globalhub 1.6 el9) All versions No fix listed No fix yet
redhat/openshift-gitops-1/dex-rhel8:1779116359(Red Hat openshift_gitops 1.18 el8) All versions No fix listed No fix yet
redhat/openshift-gitops-1/dex-rhel8:1779209965(Red Hat openshift_gitops 1.19 el8) All versions No fix listed No fix yet
redhat/rhacm2/acm-grafana-rhel9:1777142269(Red Hat acm 2.15 el9) All versions No fix listed No fix yet
redhat/rhacm2/acm-grafana-rhel9:1782693386(Red Hat acm 2.14 el9) All versions No fix listed No fix yet
goxmldsig project goxmldsig < 1.6.0 1.6.0 Fixed
redhat acm < 1777142269; < 1782693386 1777142269, 1782693386 Fixed
redhat multicluster globalhub < 1778867753; < 1779212259; < 1779579439; < 1780167118 1778867753, 1779212259, 1779579439, 1780167118 Fixed
redhat openshift gitops < 1779116359; < 1779209965 1779116359, 1779209965 Fixed
russellhaering github.com/russellhaering/goxmldsig(Go) < 1.6.0; <= 1.5.0 1.6.0 Fixed
redhat advanced cluster security = 4 No fix listed Versions listed
redhat enterprise linux = 8; = 9; = 10 No fix listed Versions listed
russellhaering github.com/russellhaering/goxmldsig = < 1.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
russellhaering github.com/russellhaering/goxmldsig(Go) < 1.6.0 1.6.0
russellhaering github.com/russellhaering/goxmldsig = < 1.6.0 No fix listed
redhat multicluster globalhub < 1779212259 1779212259
redhat multicluster globalhub < 1779579439 1779579439
redhat multicluster globalhub < 1780167118 1780167118
redhat acm < 1782693386 1782693386
redhat acm < 1777142269 1777142269
redhat multicluster globalhub < 1778867753 1778867753
redhat openshift gitops < 1779116359 1779116359
redhat openshift gitops < 1779209965 1779209965
redhat advanced cluster security = 4 No fix listed
redhat enterprise linux = 10 No fix listed
redhat enterprise linux = 8 No fix listed
redhat enterprise linux = 9 No fix listed
russellhaering github.com/russellhaering/goxmldsig(Go) <= 1.5.0 No fix listed
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779212259(Red Hat:multicluster_globalhub:1.3::el9) All versions No fix listed
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779579439(Red Hat:multicluster_globalhub:1.4::el9) All versions No fix listed
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1778867753(Red Hat:multicluster_globalhub:1.5::el9) All versions No fix listed
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1780167118(Red Hat:multicluster_globalhub:1.6::el9) All versions No fix listed
redhat/rhacm2/acm-grafana-rhel9:1782693386(Red Hat:acm:2.14::el9) All versions No fix listed
redhat/rhacm2/acm-grafana-rhel9:1777142269(Red Hat:acm:2.15::el9) All versions No fix listed
redhat/openshift-gitops-1/dex-rhel8:1779116359(Red Hat:openshift_gitops:1.18::el8) All versions No fix listed
redhat/openshift-gitops-1/dex-rhel8:1779209965(Red Hat:openshift_gitops:1.19::el8) All versions No fix listed
goxmldsig project goxmldsig < 1.6.0 1.6.0

References