Improper Restriction of Names for Files and Other Resources Affecting go-toolset package, versions <0:1.21.13-16.el9_4


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.01% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-GOTOOLSET-16698784
  • published15 May 2026
  • disclosed8 Apr 2026

Introduced: 8 Apr 2026

CVE-2026-27140  (opens in a new tab)
CWE-641  (opens in a new tab)

How to fix?

Upgrade RHEL:9 go-toolset to version 0:1.21.13-16.el9_4 or higher.
This issue was patched in RHSA-2026:16497.

NVD Description

Note: Versions mentioned in the description apply only to the upstream go-toolset package and not the go-toolset package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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 Base Scores

version 3.1