CVE-2026-39822
Root escape via symlink plus trailing slash in os
- State
- Published
- Severity
- 7.8 High
- Published
- Jul 8, 2026
- Updated
- Jul 8, 2026
- Reserved
- Apr 7, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-61 UNIX Symbolic Link (Symlink) Following
Affected Products
| Product | Versions |
|---|---|
osGo standard library |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.