Vulnerability in Go Standard Library Os

CVE-2026-39822

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 ope…

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-39822?
CVE-2026-39822 is a high-severity vulnerability in Go Standard Library Os, classified under UNIX Symbolic Link (Symlink) Following. CVSS score: 7.8/10. Published 2026-07-08.
How severe is CVE-2026-39822?
High severity. CVSS v3 base score is 7.8 out of 10.