CVE-2026-27140
CVE-2026-27140 is a high-severity vulnerability in Golang Go with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-863.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 1% (52nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-20002
- Weakness: CWE-863
- Affected product: Golang Go
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2026-27140?
- 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.
- How severe is CVE-2026-27140?
- CVE-2026-27140 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-27140 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (52nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-27140?
- CVE-2026-27140 affects Golang Go. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-27140?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-27140 have an EU (EUVD) identifier?
- Yes. CVE-2026-27140 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-20002.
- When was CVE-2026-27140 published?
- CVE-2026-27140 was published on 2026-04-08 and last updated on 2026-09-10.
References
- https://go.dev/cl/763768
- https://go.dev/issue/78335
- https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
- https://pkg.go.dev/vuln/GO-2026-4871
- https://access.redhat.com/errata/RHSA-2026:10217
- https://access.redhat.com/errata/RHSA-2026:10219
- https://access.redhat.com/errata/RHSA-2026:10704
- https://access.redhat.com/errata/RHSA-2026:16021
- https://access.redhat.com/errata/RHSA-2026:16024
- https://access.redhat.com/errata/RHSA-2026:16494
- https://access.redhat.com/errata/RHSA-2026:16497
- https://access.redhat.com/errata/RHSA-2026:16498
- https://access.redhat.com/errata/RHSA-2026:16694
- https://access.redhat.com/errata/RHSA-2026:16697
- https://access.redhat.com/errata/RHSA-2026:16698
- https://access.redhat.com/errata/RHSA-2026:23246
- https://access.redhat.com/errata/RHSA-2026:25182
- https://access.redhat.com/errata/RHSA-2026:34099
- https://access.redhat.com/errata/RHSA-2026:56854
- https://access.redhat.com/errata/RHSA-2026:57408
- https://access.redhat.com/errata/RHSA-2026:57545
- https://access.redhat.com/security/cve/CVE-2026-27140
- https://bugzilla.redhat.com/show_bug.cgi?id=2456341
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27140.json
Affected products (1)
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
More vulnerabilities in Golang Go
- CVE-2025-68121 — Critical (CVSS 10.0): During session resumption in crypto/tls, if the underlying Config has its ClientCAs or RootCAs fields mutated between…
- CVE-2026-27143 — Critical (CVSS 9.8): Arithmetic over induction variables in loops were not correctly checked for underflow or overflow. As a result, the…
- CVE-2024-24790 — Critical (CVSS 9.8): The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning…
- CVE-2023-39320 — Critical (CVSS 9.8): The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the…
- CVE-2023-29405 — Critical (CVSS 9.8): The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a…
- CVE-2023-29404 — Critical (CVSS 9.8): The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a…
All CVEs affecting Golang Go →
Other CWE-863 (Incorrect Authorization) vulnerabilities
- CVE-2026-121352 — Critical (CVSS 10.0): Adobe Connect is affected by an Incorrect Authorization vulnerability that could result in privilege escalation. An…
- CVE-2026-89103 — Critical (CVSS 10.0): SAP Gateway activates the default Access Control List with high privileges allowing categorization of external attacker…
- CVE-2026-111812 — Critical (CVSS 10.0): Apache Traffic Server's origin_server_auth plugin lets a client force signing of attacker-chosen AWS request headers…
- CVE-2026-90532 — Critical (CVSS 10.0): Adobe Experience Manager is affected by an Incorrect Authorization vulnerability that could result in arbitrary code…
- CVE-2026-48383 — Critical (CVSS 10.0): Adobe Experience Manager is affected by an Incorrect Authorization vulnerability that could result in arbitrary code…
- CVE-2026-48382 — Critical (CVSS 10.0): Adobe Experience Manager is affected by an Incorrect Authorization vulnerability that could result in arbitrary code…
Browse all CWE-863 (Incorrect Authorization) vulnerabilities →