Use of Incorrectly-Resolved Name or Reference Affecting std/os/exec package, versions <1.23.12>=1.24.0 <1.24.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (10th 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-GOLANG-STDOSEXEC-14552249
  • published6 Jan 2026
  • disclosed18 Sept 2025
  • creditOlivier Mengué

Introduced: 18 Sep 2025

CVE-2025-47906  (opens in a new tab)
CWE-706  (opens in a new tab)

How to fix?

Upgrade std/os/exec to version 1.23.12, 1.24.6 or higher.

Overview

std/os/exec is a Go standard library package std/os/exec

Affected versions of this package are vulnerable to Use of Incorrectly-Resolved Name or Reference.

Go Vulnerability Report:

If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", and ".."), can result in the binaries listed in the PATH being unexpectedly returned.

CVSS Base Scores

version 4.0
version 3.1