CVE-2026-27140

Aliases:GO-2026-4871BIT-golang-2026-27140
Analyzed
Published: 08 Apr 2026, 01:06
Last modified:15 Jul 2026, 01:14

Vulnerability Summary

Overall Risk (default)
medium
35/100
CVSS Score
8.8 HIGH
v3.1 (cve.org)
EPSS Score
0.66% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

08 Apr 2026, 01:06
Published
Vulnerability first disclosed
15 Jul 2026, 01:14
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1HIGHScore: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.66% Percentile: 47%

Techniques & Countermeasures

  • CWE-863Incorrect Authorization

    The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

  • CWE-641Improper Restriction of Names for Files and Other Resources

    The product constructs the name of a file or other resource using input from an upstream component, but it does not restrict or incorrectly restricts the resulting name.

Affected Systems

  • go toolchaincmd/go

    < 1.25.9 | ≥ 1.26.0-0, < 1.26.2

  • golanggo

    < 1.25.9 | ≥ 1.26.0, < 1.26.2

  • Gotoolchain

    ≥ 1.26.0-0, < 1.26.2

References (21)