CVE-2026-39822CWE-61

CVE-2026-39822

High · published July 8, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
13.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00232 · 13.3th percentile
Weakness
CWE-61 · UNIX Symbolic Link (Symlink) Following
Published
2026-07-08T21:17Z
Affected products (3)
ProductVersionsFixed in
golang/go≥ 1.24.0, < 1.25.121.25.12
golang/go≥ 1.26.0, < 1.26.51.26.5
golang/goall versions—
References (4)
EPSS history
Timeline
  • 08 JUL 15:46Z
    Root escape via symlink plus trailing slash in os
    cvelistv5