{"cve":"CVE-2025-22873","nvd":{"published":"2026-02-04T23:15:54.220","modified":"2026-06-17T08:50:42.207","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":3.8},"cwes":["CWE-23"],"references":["https://go.dev/cl/670036","https://go.dev/issue/73555","https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ","https://pkg.go.dev/vuln/GO-2026-4403","http://www.openwall.com/lists/oss-security/2025/05/06/2"],"products":["golang:go"],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2025-22873","score":0.00233,"percentile":0.14233,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GO-2026-4403","url":"https://osv.dev/vulnerability/GO-2026-4403","summary":"Improper access to parent directory of root in os","modified":"2026-05-15T10:59:22.074063204Z","packages":[{"ecosystem":"Go","name":"stdlib","purl":"pkg:golang/stdlib","ranges":["<1.23.9",">=1.24.0-0 <1.24.3"],"fixed":["1.23.9","1.24.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}