
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-22873 is a relative path traversal vulnerability in Go's os.Root functionality that allows improper access to the parent directory of a restricted root. By opening a filename ending in "../" (e.g., Root.Open("../")), an attacker can escape the intended directory boundary and access the parent directory itself. The vulnerability affects Go versions 1.24.0 through 1.24.2; Go 1.23.x releases are not affected. It carries a CVSS v3.1 base score of 3.8 (Low) (Feedly, oss-security).
The root cause is improper input validation in Go's os.Root API when processing filenames that end with the "../" sequence, classified as CWE-23 (Relative Path Traversal). When a caller invokes Root.Open("../"), the path traversal check fails to reject the trailing ../, allowing the operation to resolve to the parent directory of the configured root. The escape is limited strictly to opening the parent directory itself — it does not permit traversal to ancestors of the parent or access to files within the parent directory. The fix, applied in Go 1.24.3, causes Root to correctly return an error in this case (oss-security, Go Issue, Go Advisory).
Successful exploitation allows a local, low-privileged attacker to read the parent directory of a restricted os.Root, potentially exposing sensitive files or directory metadata stored outside the intended boundary. The confidentiality impact is low and scoped to the parent directory only; there is no integrity or availability impact. Applications that rely on os.Root for sandboxing or directory isolation (e.g., file servers, container runtimes, or multi-tenant services built in Go 1.24.x) are most at risk (Feedly, Go Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of this report. The EPSS score is extremely low at 0.005%, reflecting minimal exploitation probability. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local access and low privileges, limiting the practical attack surface (Feedly).
os.Root to restrict file access to a specific directory (e.g., a file server or sandboxed service)."../", such as Root.Open("../") or an equivalent API call that passes this string to the root-restricted file open function.os.Root boundary check fails to reject the trailing ../, and the parent directory handle is returned, allowing the attacker to enumerate or read directory metadata one level above the intended root (oss-security, Go Issue)."../" directed at os.Root-managed directories; unexpected directory listing or stat operations on parent directories.strace/auditd syscall monitoring (e.g., openat calls resolving to parent directories).Upgrade to Go 1.24.3 (or later), which contains the security fix for this vulnerability; Go 1.23.x is not affected and does not require an update. If immediate patching is not possible, review and restrict filesystem permissions on parent directories of any os.Root-managed paths to limit exposure to low-privilege processes. Downstream distributions including openSUSE, SUSE Linux, Arch Linux, Fedora, and Alpine Linux have released updated packages incorporating the fix (oss-security, Go Advisory, Go CL).
The Go team announced the fix via the golang-announce mailing list alongside the Go 1.24.3 and 1.23.9 releases. The vulnerability was reported by Dan Sebastian Thrane of SDU eScience Center. The official Go Bluesky account (golang.org) posted about the release, and the issue received routine coverage in Linux security advisory feeds (openSUSE, SUSE, Arch Linux, Fedora) and security aggregators. Community reaction was measured, consistent with the low severity rating and absence of active exploitation (oss-security).
Fix availability across major Linux distributions and their releases.
devel
golang-1.23
jammy
golang-1.23
jammy (esm-apps)
golang-1.23
noble
golang-1.23
noble (esm-apps)
golang-1.23
questing
golang-1.23
resolute
golang-1.23
resolute (esm-apps)
golang-1.23
OpenShift
conmon-rs.src
RHEL 8
container-tools:rhel8/conmon.src
RHEL 9
conmon.src
RHEL 10
conmon.src
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."