Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-27140

Code execution vulnerability in SWIG code generation in cmd/go
Back to all
CVE

CVE-2026-27140

Code execution vulnerability in SWIG code generation in cmd/go

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
C
H
U
0
-
C
H
U
8.6
-
3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Related Resources

No items found.

References

https://go.dev/cl/763768, https://go.dev/issue/78335, https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU

Severity

8.6

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
8.6
EPSS Probability
0.00015%
EPSS Percentile
0.03508%
Introduced Version
1.26.0-0,go1.10beta1,go1.26rc1,go1.9beta1,go1.1rc2
Fix Available
1.26.2,go1.25.9,go1.26.2

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading