VULNERABILITY INTELLIGENCE
CVE-2026-39822
CVSS score7.8 HIGH
EPSS probability0.23%
CISA KEVNot currently listed
Published2026-07-08
Last modified2026-10-25
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-61
Primary references
- security@golang.org — Patch
- security@golang.org — Issue Tracking, Patch
- security@golang.org — Mailing List, Patch, Vendor Advisory
- security@golang.org — Vendor Advisory