{"id":"CVE-2026-39822","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-39822","generatedAt":"2026-10-28T10:46:51.317Z","title":"On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /.","description":"On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /. For example, 'root.Open(\"symlink/\")' will open \"symlink\" even when \"symlink\" is a symbolic link pointing outside of the root.","published":"2026-07-08T17:17:21.000Z","lastModified":"2026-10-25T17:10:00.000Z","status":"Analyzed","sourceIdentifier":"security@golang.org","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-61"],"affected":["golang/go"],"epss":{"score":0.00232,"percentile":0.14051,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.23%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://go.dev/cl/797880","tags":["Patch"],"source":"security@golang.org"},{"url":"https://go.dev/issue/79005","tags":["Issue Tracking","Patch"],"source":"security@golang.org"},{"url":"https://groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc","tags":["Mailing List","Patch","Vendor Advisory"],"source":"security@golang.org"},{"url":"https://pkg.go.dev/vuln/GO-2026-4970","tags":["Vendor Advisory"],"source":"security@golang.org"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-39822","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}