PublishedCVE-2026-39822·
7.8High
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.25.12, 1.26.5, 1.27.0-rc.2 and 1 more.
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.
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Go standard library | <1.25.12, >=1.26.0-0 <1.26.5, >=1.27.0-0 <1.27.0-rc.2 | 1.25.12, 1.26.5, 1.27.0-rc.2 | |
| go: stdlib | >=1.27.0-0 <1.27.0-rc.2 | 1.27.0-rc.2 |
Every event on this vulnerability
Other vulnerabilities in stdlib (Go), strongest first
A live severity badge for an advisory, README or ticket