cve.bz

CVE-2026-27140 golang go: Incorrect Authorization

8.8 highEPSS 0.6%Fix available

High (8.8) in golang go. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in toolchain 1.25.9, 1.26.2.

On this page
SWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary code execution at build time due to trust layer bypass.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-04-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-863 Incorrect Authorization
CWE-641 Improper Restriction of Names for Files and Other Resources
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27140 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27140?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27140?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27140 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go toolchain cmd/gobefore 1.25.9
Go toolchain cmd/gofrom 1.26.0-0 before 1.26.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2026-4871Gotoolchain<1.25.9
>=1.26.0-0 <1.26.2
1.25.9, 1.26.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2026-27140
Debian13golang-1.24no fix listedDEBIAN-CVE-2026-27140
Debian14golang-1.261.26.2-1DEBIAN-CVE-2026-27140
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2026-27140
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 3 moreno fix listedUBUNTU-CVE-2026-27140
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20 and 5 moreno fix listedUBUNTU-CVE-2026-27140
Ubuntu24.04:LTSgolang-1.21, golang-1.22, golang-1.23 and 1 moreno fix listedUBUNTU-CVE-2026-27140
Ubuntu25.10golang-1.23, golang-1.24, golang-1.25no fix listedUBUNTU-CVE-2026-27140
Ubuntu26.04:LTSgolang-1.23, golang-1.24no fix listedUBUNTU-CVE-2026-27140
UbuntuPro:16.04:LTSgolang-1.13, golang-1.18no fix listedUBUNTU-CVE-2026-27140
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16, golang-1.18no fix listedUBUNTU-CVE-2026-27140
UbuntuPro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2026-27140
UbuntuPro:22.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2026-27140
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.25.2-1.module+el8.10.0+23746+9db33b5eRHSA-2026:10704
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.25.9-1.module+el8.10.0+24226+c418b32cRHSA-2026:10704
Red Hatenterprise_linux:9::appstreamgolang, go-toolset, golang-bin and 5 more0:1.25.9-1.el9_7RHSA-2026:10219
Red Hatenterprise_linux:10.1golang, go-toolset, golang-bin and 5 more0:1.25.9-3.el10_1RHSA-2026:10217
Red Hatenterprise_linux_eus:10.0golang, go-toolset, golang-bin and 5 more0:1.25.9-1.el10_0RHSA-2026:16024
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamdelve, delve-debuginfo, delve-debugsource0:1.5.0-2.module+el8.4.0+8864+58b0fcdbRHSA-2026:16698
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamgo-toolset0:1.15.14-3.module+el8.4.0+22765+91da4d3fRHSA-2026:16698
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamgolang, golang-bin, golang-src and 4 more0:1.15.14-22.module+el8.4.0+24267+d2faeddfRHSA-2026:16698
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamdelve, delve-debuginfo, delve-debugsource0:1.7.2-1.module+el8.6.0+12972+ebab5911RHSA-2026:16697
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamgo-toolset0:1.17.13-2.module+el8.6.0+22782+bd95fb4cRHSA-2026:16697
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamgolang, golang-bin, golang-src and 4 more0:1.17.13-16.module+el8.6.0+24266+ace38400RHSA-2026:16697
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.9.1-1.module+el8.8.0+16778+5fbb74f5RHSA-2026:16694
6 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morego1.251.25.9-150000.1.35.1SUSE-SU-2026:1321-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morego1.261.26.2-150000.1.9.1SUSE-SU-2026:1320-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.25-openssl1.25.9-150000.1.21.1SUSE-SU-2026:1581-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.26-openssl1.26.2-150000.1.6.1SUSE-SU-2026:1580-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.25-openssl1.25.12-160000.1.1SUSE-SU-2026:22638-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.26-openssl1.26.4-160000.1.1SUSE-SU-2026:22572-1
openSUSELeap 16.0go1.251.25.9-160000.1.1openSUSE-SU-2026:20570-1
openSUSELeap 16.0go1.25-openssl1.25.12-160000.1.1openSUSE-SU-2026:21319-1
openSUSELeap 16.0go1.261.26.2-160000.1.1openSUSE-SU-2026:20571-1
openSUSELeap 16.0go1.26-openssl1.26.4-160000.1.1openSUSE-SU-2026:21254-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSETumbleweedcoredns1.14.3-1.1openSUSE-SU-2026:10673-1
openSUSETumbleweedgo1.251.25.9-1.1openSUSE-SU-2026:10514-1
openSUSETumbleweedgo1.261.26.2-1.1openSUSE-SU-2026:10525-1
AlmaLinux8delve1.25.2-1.module_el8.10.0+4074+24330916ALSA-2026:10704
AlmaLinux8golang, go-toolset, golang-bin and 5 more1.25.9-1.module_el8.10.0+4167+2e2e20ddALSA-2026:10704
Rocky Linux8delve0:1.25.2-1.module+el8.10.0+40035+ee0a7047RLSA-2026:10704
Rocky Linux8golang0:1.25.9-1.module+el8.10.0+40168+6cb0ea60RLSA-2026:10704
Rocky Linux9golang0:1.25.9-1.el9_7RLSA-2026:10219
Rocky Linux10golang0:1.25.9-3.el10_1RLSA-2026:10217
Alpinev3.23go1.25.9-r0ALPINE-CVE-2026-27140
Alpinev3.24go1.26.2-r0ALPINE-CVE-2026-27140
Alpinev3.24rclone1.73.5-r0ALPINE-CVE-2026-27140
Azure Linux3golangno fix listedAZL-98607
Alpaquita23, 25go1.25.9-r0BELL-CVE-2026-27140
Alpaquitastreamgo1.26.2-r0BELL-CVE-2026-27140
BellSoft Hardened Containers23, 25go1.25.9-r0BELL-CVE-2026-27140
BellSoft Hardened Containersstreamgo1.26.2-r0BELL-CVE-2026-27140

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important because an attacker can achieve arbitrary code execution in the context of the user or build system compiling untrusted source code. Exploitation requires convincing a developer or automated CI/CD pipeline to build or download a malicious Go package containing specially crafted SWIG interface filenames. Pre-compiled binaries and production runtime environments that do not invoke the Go compiler toolchain remain unaffected.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10golang-0:1.25.9-3.el10_1Fixed 2026-04-23RHSA-2026:10217
Red Hat Enterprise Linux 10.0 Extended Update Supportgolang-0:1.25.9-1.el10_0Fixed 2026-05-11RHSA-2026:16024
Red Hat Enterprise Linux 8go-toolset:rhel8-8100020260422204008.a3795deeFixed 2026-04-27RHSA-2026:10704
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgo-toolset:rhel8-8040020260505161557.5081a262Fixed 2026-05-13RHSA-2026:16698
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Ongo-toolset:rhel8-8040020260505161557.5081a262Fixed 2026-05-13RHSA-2026:16698
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgo-toolset:rhel8-8060020260505152018.97d7f71fFixed 2026-05-13RHSA-2026:16697
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicego-toolset:rhel8-8060020260505152018.97d7f71fFixed 2026-05-13RHSA-2026:16697
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsgo-toolset:rhel8-8060020260505152018.97d7f71fFixed 2026-05-13RHSA-2026:16697
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicego-toolset:rhel8-8080020260506150958.6b4b45d8Fixed 2026-05-13RHSA-2026:16694
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsgo-toolset:rhel8-8080020260506150958.6b4b45d8Fixed 2026-05-13RHSA-2026:16694
OpenShift Service Mesh 2openshift4/ose-docker-builder-rhel9Not affected
OpenShift Service Mesh 2openshift-golang-builder-containerUnder investigation
OpenShift Service Mesh 2openshift-service-mesh/istio-cni-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/istio-rhel8-operatorNot affected
OpenShift Service Mesh 2openshift-service-mesh/pilot-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/proxyv2-rhel9Not affected
OpenShift Service Mesh 2openshift-service-mesh/ratelimit-rhel8Not affected
OpenShift Service Mesh 3openshift4/ose-docker-builder-rhel9Not affected
OpenShift Service Mesh 3openshift-golang-builder-containerUnder investigation
OpenShift Service Mesh 3openshift-service-mesh/istio-cni-rhel9Not affected
198 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27140.

References

Check your stackJSON