CVE-2026-27140: SWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary code exe
CVE-2026-27140 is a high-severity flaw (CVSS 8.8) affecting go. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Last updated 2026-09-10 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-27140?
go: upgrade to 1.25.9, 1.26.2. Exact commands for each OS are on this page.
Is CVE-2026-27140 being exploited?
CVE-2026-27140 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-27140 affect?
CVE-2026-27140 affects go. Severity is high (CVSS 8.8). 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 urgent is CVE-2026-27140?
Priority 44/100. High severity
Software pages
Related CVEs
- CVE-2026-33814 HIGH 7.5 UPGRADE UPGRADE When processing HTTP/2 SETTINGS frames, transport will enter an infinite loop of writing CONTINUATION frames i
- CVE-2026-39836 HIGH 7.5 UPGRADE The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL (0).
- CVE-2026-39825 MEDIUM 5.3 UPGRADE ReverseProxy can forward queries containing parameters not visible to Rewrite functions
- CVE-2026-39826 MEDIUM 6.1 UPGRADE If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' att
- CVE-2026-39823 MEDIUM 6.1 UPGRADE CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <conten