{"schema_version":"1.9.0","id":"BIT-golang-2026-39822","published":"2026-07-14T15:46:19.021Z","modified":"2026-09-08T08:45:13.550951398Z","aliases":["CVE-2026-39822","GO-2026-4970"],"summary":"Root escape via symlink plus trailing slash in os","details":"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.","affected":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.12"},{"introduced":"1.26.0-0"},{"fixed":"1.26.5"},{"introduced":"1.27.0-0"},{"fixed":"1.27.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2026-39822.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}],"references":[{"type":"FIX","url":"https://go.dev/cl/797880"},{"type":"FIX","url":"https://go.dev/issue/79005"},{"type":"ADVISORY","url":"https://groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39822"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2026-4970"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"High"}}