CVE-2025-22873Golang Go
Low 3.8
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 23
- CVSS 3.1
- 3.8
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 4, 2026
- Updated
- Nov 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-23
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
What happens
It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For example, Root.Open("../") would open the parent directory of the Root. This escape only permits opening the parent directory itself, not ancestors of the parent or files contained within the parent.
What to do
- Apply the vendor's security update for Go.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.23.9 |
1.23.9 |
go get stdlib@v1.23.9 |
| Go | stdlib |
≥ 1.24.0-0 < 1.24.3 |
1.24.3 |
go get stdlib@v1.24.3 |
Per OSV / GitHub Advisories (GO-2026-4403). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | ≥ 1.24.0 < 1.24.3 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7385 · May 15, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7291 · May 14, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:0403-1 · Feb 6, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch Product
- go.dev Issue Tracking Vendor Advisory
- groups.google.com Mailing List Release Notes
- pkg.go.dev Issue Tracking Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory