Improper Restriction of Names for Files and Other Resources Affecting go-toolset:rhel8/golang-misc package, versions <0:1.19.13-24.module+el8.8.0+24268+9f9e0e19


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-RHEL8-GOTOOLSET-16700153
  • 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:8 go-toolset:rhel8/golang-misc to version 0:1.19.13-24.module+el8.8.0+24268+9f9e0e19 or higher.
This issue was patched in RHSA-2026:16694.

NVD Description

Note: Versions mentioned in the description apply only to the upstream go-toolset:rhel8/golang-misc package and not the go-toolset:rhel8/golang-misc package as distributed by RHEL. See How to fix? for RHEL:8 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