# os (Go) vulnerabilities

5 known vulnerabilities (2 high, 1 medium, 2 low), 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

## Advisories (5)

### [CVE-2026-39822](https://cve.now/CVE-2026-39822): Root escape via symlink plus trailing slash in os

- Severity: High 7.8
- Published: Jul 8, 2026
- Affected: fixed in 1.25.12; from 1.26.0-0, fixed in 1.26.5; from 1.27.0-0, fixed in 1.27.0-rc.2.

### [CVE-2026-27139](https://cve.now/CVE-2026-27139): FileInfo can escape from a Root in os

- Severity: Low 2.5
- Published: Mar 6, 2026
- Affected: fixed in 1.25.8; from 1.26.0-0, fixed in 1.26.1.

### [CVE-2025-22873](https://cve.now/CVE-2025-22873): Improper access to parent directory of root in os

- Severity: Low 3.8
- Published: Feb 4, 2026
- Affected: fixed in 1.23.9; from 1.24.0-0, fixed in 1.24.3.

### [CVE-2025-0913](https://cve.now/CVE-2025-0913): Inconsistent handling of O\_CREATE|O\_EXCL on Unix and Windows in os in syscall

- Severity: Medium 5.5
- Published: Jun 11, 2025
- Affected: fixed in 1.23.10; from 1.24.0-0, fixed in 1.24.4.

### [CVE-2022-41720](https://cve.now/CVE-2022-41720): Restricted file access on Windows in os and net/http

- Severity: High 7.5
- Published: Dec 7, 2022
- Affected: fixed in 1.18.9; from 1.19.0-0, fixed in 1.19.4.

---

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
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
