Red Hat VEX
RHVEX-CVE-2026-39822
golang: Go os.Root: Symlink following vulnerability allows directory traversal
Details
A flaw was found in the os.Root functionality of Go on Unix systems. This vulnerability allows an attacker to bypass intended directory restrictions by crafting a path that ends with a symbolic link and a trailing slash. When a file is opened in os.Root with such a path, the symbolic link is improperly followed, potentially leading to access to locations outside of the defined root directory. This could result in information disclosure or unauthorized file system access.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | podman | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | podman-docker | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | podman-remote | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | podman-tests | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-39822
- https://bugzilla.redhat.com/show_bug.cgi?id=2498152
- https://www.cve.org/CVERecord?id=CVE-2026-39822
- https://nvd.nist.gov/vuln/detail/CVE-2026-39822
- https://go.dev/cl/797880
- https://go.dev/issue/79005
- https://groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc
- https://pkg.go.dev/vuln/GO-2026-4970