{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-22873","id":"CVE-2025-22873","title":"Improper access to parent directory of root in os","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.","descriptionLong":"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-04T23:05:24.803Z","updated":"2026-11-19T17:48:00.663Z","reserved":"2025-01-08T19:11:42.835Z","status":"Analyzed","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"low","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"low","source":"CISA-ADP"},{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"low","source":"OSV"}],"rating":"low","products":["Go standard library os"],"affectedProducts":[{"vendor":"Go standard library","product":"os","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.23.9","status":"affected","versionType":"semver"},{"version":"1.24.0-0","lessThan":"1.24.3","status":"affected","versionType":"semver"}],"platforms":[]}],"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"],"advisory":"GO-2026-4403"}],"cwes":["CWE-23"],"aliases":["BIT-golang-2025-22873","GO-2026-4403"],"references":[{"url":"https://go.dev/cl/670036","tags":["Patch","Product","web","fix"]},{"url":"https://go.dev/issue/73555","tags":["Issue Tracking","Vendor Advisory","web","report"]},{"url":"https://groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ","tags":["Mailing List","Release Notes","web"]},{"url":"https://pkg.go.dev/vuln/GO-2026-4403","tags":["Issue Tracking","Vendor Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/05/06/2","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://pkg.go.dev","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22873.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22873","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00233,"epssPercentile":0.14343,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-22873","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22873","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-22873","ok":true,"note":"1 package"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-22873","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["go"],"critical":[],"attention":null}