CVE-2025-22873: Improper access to parent directory of root in os
Vulnerability summary
CVE-2025-22873 is a low (CVSS 3.8) Relative Path Traversal vulnerability in go standard library os. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.2% of scored vulnerabilities.
Not severe (CVSS 3.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 6Timeline
- 04-02-2026PublishedVulnerability first disclosed.
- 05-02-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated3.8LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated3.8LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated3.8LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated3.8LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- NVDNIST3.8LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- OSV · AlpineEcosystem advisory · calculated3.8LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard17 products
- go-1.20All versions (No fix recorded)
- go-1.22All versions (No fix recorded)
- katib-earlystopping< 0.19.0-r31
- katib-suggestion-goptuna-compatAll versions (No fix recorded)
- katib-suggestion-hyperband< 0.19.0-r31
Suse14 products
- go1.24&distro=SUSE Enterprise Storage 7.1< 1.24.3-150000.1.23.1
- go1.24&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 1.24.3-150000.1.23.1
- go1.24&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 1.24.3-150000.1.23.1
- go1.24&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 1.24.3-150000.1.23.1
- go1.24&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 1.24.3-150000.1.23.1
Wolfi12 products
- go-1.20All versions (No fix recorded)
- go-1.22All versions (No fix recorded)
- katib-earlystopping< 0.19.0-r31
- katib-suggestion-goptuna-compatAll versions (No fix recorded)
- katib-suggestion-hyperband< 0.19.0-r31
Opensuse2 products
- go1.24&distro=openSUSE Leap 15.6< 1.24.3-150000.1.23.1
- go1.24&distro=openSUSE Tumbleweed< 1.24.3-1.1
Alpine1 product
- go≥ 1.24.0, < 1.23.9-r0 | ≥ 1.24.0, < 1.24.3-r0
Debian1 product
- golang-1.24< 1.24.4-1
Go1 product
- stdlib≥ 1.24.0-0, < 1.24.3
Go standard library1 product
- os< 1.23.9 | ≥ 1.24.0-0, < 1.24.3
Golang1 product
- go< 1.23.9 | ≥ 1.24.0, < 1.24.3
Ubuntu1 product
- golang-1.24All versions (No fix recorded)
10 vendors · 51 products
References
20 linksShow all 20 references
- pkg.go.devWEB
- lists.opensuse.org/archives/…Advisory