CVE-2026-27140: Code execution vulnerability in SWIG code generation in cmd/go
Noroxi assessment
Priority: Monitor (action score 35/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.67% (FIRST EPSS); higher than 52.5% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: Go toolchain cmd/go 1.25.9, 1.26.2; cbl2 msft-golang 1.25.8-1 on CBL-Mariner 2.0 Release Notes.
Low priority for now. Upgrade to Go toolchain cmd/go 1.25.9, 1.26.2; cbl2 msft-golang 1.25.8-1 on CBL-Mariner 2.0 Release Notes or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2026-07248
- ALSA-2026:10704
- GO-2026-4871
- openSUSE-SU-2026:10514-1
- openSUSE-SU-2026:10525-1
- openSUSE-SU-2026:10673-1
- openSUSE-SU-2026:20570-1
- openSUSE-SU-2026:20571-1
- openSUSE-SU-2026:21254-1
- openSUSE-SU-2026:21319-1
- RHSA-2026:10217
- RHSA-2026:10219
- RHSA-2026:10704
- RHSA-2026:16021
- RHSA-2026:16024
- RHSA-2026:16494
- RHSA-2026:16497
- RHSA-2026:16498
- RHSA-2026:16694
- RHSA-2026:16697
- Published
- Apr 7, 2026
- Updated
- Sep 10, 2026
- EPSS
- 0.6% · 52th percentile
- CWE
- CWE-863
Report tools
Action score
35
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.6%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| golang | go | cpe:2.3:a:golang:go |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Go). Independent of NVD's CPE analysis and usually ahead of it.
Go toolchain cmd/go
- before 1.25.9affected · semver
- 1.26.0-0 and later · before 1.26.2affected · semver
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- golang gobefore 1.25.9
- golang go1.26.0 and later · before 1.26.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | delve | before 1.25.2-1.module_el8.10.0+4074+24330916 | 1.25.2-1.module_el8.10.0+4074+24330916 |
| AlmaLinux:8 | go-toolset | before 1.25.9-1.module_el8.10.0+4167+2e2e20dd | 1.25.9-1.module_el8.10.0+4167+2e2e20dd |
| AlmaLinux:8 | golang | before 1.25.9-1.module_el8.10.0+4167+2e2e20dd | 1.25.9-1.module_el8.10.0+4167+2e2e20dd |
| AlmaLinux:8 | golang-bin | before 1.25.9-1.module_el8.10.0+4167+2e2e20dd | 1.25.9-1.module_el8.10.0+4167+2e2e20dd |
| AlmaLinux:8 | golang-docs | before 1.25.9-1.module_el8.10.0+4167+2e2e20dd | 1.25.9-1.module_el8.10.0+4167+2e2e20dd |
| AlmaLinux:8 | golang-misc | before 1.25.9-1.module_el8.10.0+4167+2e2e20dd | 1.25.9-1.module_el8.10.0+4167+2e2e20dd |
| AlmaLinux:8 | golang-race | before 1.25.9-1.module_el8.10.0+4167+2e2e20dd | 1.25.9-1.module_el8.10.0+4167+2e2e20dd |
| AlmaLinux:8 | golang-src | before 1.25.9-1.module_el8.10.0+4167+2e2e20dd | 1.25.9-1.module_el8.10.0+4167+2e2e20dd |
| AlmaLinux:8 | golang-tests | before 1.25.9-1.module_el8.10.0+4167+2e2e20dd | 1.25.9-1.module_el8.10.0+4167+2e2e20dd |
| Alpine:v3.23 | go | from 1.26.0 · before 1.25.9-r0 | 1.25.9-r0 |
| Alpine:v3.24 | go | from 1.26.0 · before 1.26.2-r0 | 1.26.2-r0 |
| Alpine:v3.24 | rclone | before 1.73.5-r0 | 1.73.5-r0 |
| Debian:12 | golang-1.19 | from 0 | — |
| Debian:13 | golang-1.24 | from 0 | — |
| Debian:14 | golang-1.26 | before 1.26.2-1 | 1.26.2-1 |
| Go | toolchain | from 1.26.0-0 · before 1.26.2 | 1.26.2 |
| Go | toolchain | before 1.25.9 | 1.25.9 |
| openSUSE:Leap 16.0 | go1.25 | before 1.25.9-160000.1.1 | 1.25.9-160000.1.1 |
| openSUSE:Leap 16.0 | go1.25-openssl | before 1.25.12-160000.1.1 | 1.25.12-160000.1.1 |
| openSUSE:Leap 16.0 | go1.26 | before 1.26.2-160000.1.1 | 1.26.2-160000.1.1 |
| openSUSE:Leap 16.0 | go1.26-openssl | before 1.26.4-160000.1.1 | 1.26.4-160000.1.1 |
| openSUSE:Tumbleweed | coredns | before 1.14.3-1.1 | 1.14.3-1.1 |
| openSUSE:Tumbleweed | go1.25 | before 1.25.9-1.1 | 1.25.9-1.1 |
| openSUSE:Tumbleweed | go1.26 | before 1.26.2-1.1 | 1.26.2-1.1 |
+96
Same product
golang: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-7187The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only…54Plan
- CVE-2018-16873In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag…52Plan
- CVE-2021-38297Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a function invocation from a WASM module, when…42Plan
Published before and after this one in the same product
- ← EarlierCVE-2026-27139Mar 6, 2026 · FileInfo can escape from a Root in os10Monitor
- ← EarlierCVE-2026-27142Mar 6, 2026 · URLs in meta content attribute actions are not escaped in html/template24Monitor
- Later →CVE-2026-27143Apr 7, 2026 · Missing bound checks can lead to memory corruption in safe Go in cmd/compile39Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Go toolchain cmd/go | 1.25.9 | Vendor (CNA) |
| Go toolchain cmd/go | 1.26.2 | Vendor (CNA) |
| azl3 golang 1.27.0-1 on Azure Linux 3.0 | — | Microsoft (MSRC) |
| cbl2 msft-golang 1.25.8-1 on CBL-Mariner 2.0 | Release Notes | Microsoft (MSRC) |
| almalinux:delve | 1.25.2-1.module_el8.10.0+4074+24330916 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:go-toolset | 1.25.9-1.module_el8.10.0+4167+2e2e20dd · AlmaLinux:8 | Package registry (OSV) |
| almalinux:golang | 1.25.9-1.module_el8.10.0+4167+2e2e20dd · AlmaLinux:8 | Package registry (OSV) |
| almalinux:golang-bin | 1.25.9-1.module_el8.10.0+4167+2e2e20dd · AlmaLinux:8 | Package registry (OSV) |
| almalinux:golang-docs | 1.25.9-1.module_el8.10.0+4167+2e2e20dd · AlmaLinux:8 | Package registry (OSV) |
| almalinux:golang-misc | 1.25.9-1.module_el8.10.0+4167+2e2e20dd · AlmaLinux:8 | Package registry (OSV) |
| almalinux:golang-race | 1.25.9-1.module_el8.10.0+4167+2e2e20dd · AlmaLinux:8 | Package registry (OSV) |
| almalinux:golang-src | 1.25.9-1.module_el8.10.0+4167+2e2e20dd · AlmaLinux:8 | Package registry (OSV) |
| almalinux:golang-tests | 1.25.9-1.module_el8.10.0+4167+2e2e20dd · AlmaLinux:8 | Package registry (OSV) |
| alpine:go | 1.25.9-r0 · Alpine:v3.23 | Package registry (OSV) |
| alpine:rclone | 1.73.5-r0 · Alpine:v3.24 | Package registry (OSV) |
| debian:golang-1.25 | 1.25.9-1 · Debian:14 | Package registry (OSV) |
| debian:golang-1.26 | 1.26.2-1 · Debian:14 | Package registry (OSV) |
| Go:toolchain | 1.25.9 | Package registry (OSV) |
| Go:toolchain | 1.26.2 | Package registry (OSV) |
| opensuse:coredns | 1.14.3-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:go1.25 | 1.25.9-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:go1.25-openssl | 1.25.12-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:go1.26 | 1.26.2-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:go1.26-openssl | 1.26.4-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| red hat:delve | 0:1.25.2-1.module+el8.10.0+23746+9db33b5e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:delve-debuginfo | 0:1.25.2-1.module+el8.10.0+23746+9db33b5e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:delve-debugsource | 0:1.25.2-1.module+el8.10.0+23746+9db33b5e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:go-toolset | 0:1.25.9-3.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:golang | 0:1.25.9-3.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:golang-bin | 0:1.25.9-3.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
+11
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Juho ForsénMattermost
Not on record for this CVE: EPSS history · patch commit or PR link · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-863 · Incorrect AuthorizationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- go.dev/issue/78335
- groups.google.com/g/golang-announce/c/0uYbvbPZRWU
- pkg.go.dev/vuln/GO-2026-4871
- access.redhat.com/errata/RHSA-2026:10217
- access.redhat.com/errata/RHSA-2026:10219
- access.redhat.com/errata/RHSA-2026:10704
- access.redhat.com/errata/RHSA-2026:16021
- access.redhat.com/errata/RHSA-2026:16024
- access.redhat.com/errata/RHSA-2026:16494
- access.redhat.com/errata/RHSA-2026:16497
- access.redhat.com/errata/RHSA-2026:16498
- access.redhat.com/errata/RHSA-2026:16694
- access.redhat.com/errata/RHSA-2026:16697
- access.redhat.com/errata/RHSA-2026:16698
- access.redhat.com/errata/RHSA-2026:23246
- access.redhat.com/errata/RHSA-2026:25182
- access.redhat.com/errata/RHSA-2026:34099
- access.redhat.com/errata/RHSA-2026:56854
- access.redhat.com/errata/RHSA-2026:57408
Vendor advisories and official records. Exploit/PoC links are deliberately left out.