CVE-2026-39822 is a symlink-following directory traversal vulnerability in Go's os.Root implementation on Unix systems. The flaw occurs when a path opened relative to an os.Root ends with a trailing slash and its final path component is a symbolic link. Under these conditions, the underlying openat call with O_NOFOLLOW can still resolve the symlink when the path ends in "/", and os.Root failed to account for that Unix-specific behavior. As a result, operations intended to remain confined within the configured root can escape that boundary and access locations outside it. Affected code paths include OpenInRoot and os.Root methods such as Root.Open, Root.OpenFile, Root.Create, Root.ReadFile, Root.WriteFile, and Root.OpenRoot. The issue affects Go 1.24 and later when the os.Root API is used, and it was fixed by sanitizing the path passed to openat to correctly handle trailing slashes.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A symlink-following vulnerability in Go os.Root that allows directory traversal.
A symlink-following vulnerability in Go os.Root that allows directory traversal.
A directory traversal vulnerability in Go os.Root caused by symlink following.
A directory traversal vulnerability in Go's os.Root handling caused by symlink following, addressed via a Red Hat buildah security update.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.