CVE-2025-22873 | Improper access to parent directory of root in os

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.

Published: 2026-02-04 Last update: 2026-02-10 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-22873 is rated Low Risk (15.3/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.01%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-22873

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-02-05 0.01%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-22873

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.8 3.1 LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.0 1.4 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2025-22873

OS Trackers for CVE-2025-22873

vendor priority summary link
alpine CVE-2025-22873: 1 source package rows (go); 77 state rows across 3 repos (3.21-community, 3.22-community, edge-community); fixed 3, open 74. https://security.alpinelinux.org/vuln/CVE-2025-22873
debian unimportant CVE-2025-22873 unimportant priority: Debian including 3 source packages (golang-1.15, golang-1.19, golang-1.24), 3 status rows across 3 suites (bookworm, bullseye, trixie): resolved 3. https://security-tracker.debian.org/tracker/CVE-2025-22873
redhat medium https://access.redhat.com/security/cve/CVE-2025-22873
suse medium CVE-2025-22873 severity moderate: SUSE including 32 source package names (1.24.4-1.8.1:go1.24-1.24.4-150000.1.26.1, 1.24.4-1.8.1:go1.24-doc-1.24.4-150000.1.26.1, …), 259 product×package rows across 47 product lines (Container bci/golang, Container suse/sl-micro/6.0/baremetal-os-container, … (47 product lines)): Known Not Affected 148, Fixed 111. https://www.suse.com/security/cve/CVE-2025-22873/
ubuntu medium CVE-2025-22873 medium priority: Ubuntu including 2 source packages (golang-1.23, golang-1.24), 14 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): not-affected 6, needs-triage 4, DNE 3, ignored 1. https://ubuntu.com/security/CVE-2025-22873

Affected software / configurations for CVE-2025-22873

Vendor Product Version Raw CPE
golang go < 1.23.9 cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
golang go >= 1.24.0, < 1.24.3 cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

References for CVE-2025-22873

URL Tags
https://go.dev/cl/670036 Patch Product
https://go.dev/issue/73555 Issue Tracking Vendor Advisory
https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ Mailing List Release Notes
https://pkg.go.dev/vuln/GO-2026-4403 Vendor Advisory Issue Tracking
http://www.openwall.com/lists/oss-security/2025/05/06/2 Mailing List Third Party Advisory
cvelogic Threat Intelligence