CVE-2025-22873

Source
https://cve.org/CVERecord?id=CVE-2025-22873
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22873.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-22873
Aliases
Downstream
ALPINE (1)
BELL (1)
CGA (113)
CLEANSTART (13)
DEBIAN (1)
ECHO (1)
MINI (42)
openSUSE (2)
RHSA (2)
SUSE (4)
UBUNTU (1)
Related
Published
2026-02-04T23:05:24Z
Modified
2026-11-20T21:00:07Z
Severity
  • 3.8 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N CVSS Calculator
Summary
Improper access to parent directory of root in os
Details

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.

Database specific
{
    "cna_assigner":  "Go",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22873.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "1.23.9"
                        },
                        {
                            "introduced":  "1.24.0-0"
                        },
                        {
                            "fixed":  "1.24.3"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/golang/go

Affected ranges

Type
GIT
Repo
https://github.com/golang/go
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.24.0"
                },
                {
                    "fixed":  "1.24.3"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Affected versions

go1.*
go1.24.0
go1.24.1
go1.24.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22873.json"