Skip to main content
CVE-2026-27140VulnerabilityPublished Updated

Golang 1.10: SWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary

Affects golang-1.10Source GCVE Database

0
Compare
Authoritative record:CVE-2026-27140· High 8.8

Not known to be exploited · CVSS 8.8 High.

Data as of 5 Nov 2026, 00:01 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSgolang-1.23pkg:deb/ubuntu/golang-1.23?arch=source&distro=resoluteOther threatsAffected
  • =1.23.10-1
Fixed in–
Ubuntu 26.04 LTSgolang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=resoluteOther threatsAffected
  • =1.24.4-1ubuntu1
  • =1.24.9-1
  • =1.24.13-2
Fixed in–
Ubuntu 25.10golang-1.23pkg:deb/ubuntu/golang-1.23?arch=source&distro=questingOther threatsAffected
  • =1.23.8-1
  • =1.23.10-1
  • =1.23.10-1ubuntu0.2
Fixed in–
Ubuntu 25.10golang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=questingOther threatsAffected
  • 1.24.2-1 – 1.24.4-1ubuntu1
4 affected builds
Fixed in–
Ubuntu 25.10golang-1.25pkg:deb/ubuntu/golang-1.25?arch=source&distro=questingOther threatsAffected
  • =1.25.0-0ubuntu1
  • =1.25.7-2~25.10.1
Fixed in–
Ubuntu 24.04 LTSgolang-1.21pkg:deb/ubuntu/golang-1.21?arch=source&distro=nobleOther threatsAffected
  • 1.21.1-1 – 1.21.9-1ubuntu0.1
11 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until an official fix is available, avoid using untrusted SWIG files containing 'cgo' in their names and restrict build operations to trusted sources only.

Description

A vulnerability in Golang 1.10 and certain related Ubuntu package versions allows specially crafted SWIG file names containing 'cgo' to bypass trust layers during build time, potentially leading to code smuggling and arbitrary code execution. This flaw affects multiple Ubuntu-distributed Golang versions and has a critical severity rating with a CVSS score of 9. No public exploits are currently known. The vulnerability impacts confidentiality, integrity, and availability.

References

Community reviews

Loading reviews…