Go standard library os/exec vulnerabilities (CVE)

CVE records published for Go standard library os/exec, newest first. Follow to get an email when a new one appears.

3 results
6.5Medium
CVE-2025-47906

Unexpected paths returned from LookPath in os/exec

Go standard library os/exec

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.

6.3Medium
CVE-2022-41716

Unsanitized NUL in environment variables on Windows in syscall and os/exec

Go standard library syscall; Go standard library os/exec

Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows. In syscall.StartProcess and os/exec.Cmd, invalid environment variable values containing NUL values are not properly checked for. A malicious environment …

1.0%EPSS