# os/exec (Go) vulnerabilities

3 known vulnerabilities (1 high, 2 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://pkg.go.dev/os/exec

## Advisories (3)

### [CVE-2025-47906](https://cve.now/CVE-2025-47906): Unexpected paths returned from LookPath in os/exec

- Severity: Medium 6.5
- Published: Sep 18, 2025
- Affected: fixed in 1.23.12; from 1.24.0, fixed in 1.24.6.

### [CVE-2022-41716](https://cve.now/CVE-2022-41716): Unsanitized NUL in environment variables on Windows in syscall and os/exec

- Severity: Medium 6.3
- Published: Nov 2, 2022
- Affected: fixed in 1.18.8; from 1.19.0-0, fixed in 1.19.3.

### [CVE-2022-30580](https://cve.now/CVE-2022-30580): Empty Cmd.Path can trigger unintended binary in os/exec on Windows

- Severity: High 7.8
- Published: Aug 9, 2022
- Affected: fixed in 1.17.11; from 1.18.0-0, fixed in 1.18.3.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/go/os/exec
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
