CVE-2026-39822: On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root whe
CVE-2026-39822 is a high-severity flaw (CVSS 7.8) affecting go. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 86%) |
| CISA exploited list | No |
| Weakness | CWE-61 |
| Published | 2026-07-08 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- Amazon Linux 2023 ALAS: ALAS2023-2026-3153 (medium): soci-snapshotter 2026-10-12
- Amazon Linux 2023 ALAS: ALAS2023-2026-3180 (medium): amazon-ecr-credential-helper 2026-10-12
- Amazon Linux 2023 ALAS: ALAS2023-2026-3205 (medium): docker 2026-10-12
- Amazon Linux 2023 ALAS: ALAS2023-2026-3206 (medium): oci-add-hooks 2026-10-12
- Amazon Linux 2 ALAS: ALAS2DOCKER-2026-143 (medium): soci-snapshotter 2026-10-12
- Amazon Linux 2 ALAS: ALAS2DOCKER-2026-145 (medium): amazon-ecr-credential-helper 2026-10-12
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-39822?
go: upgrade to 1.25.12, 1.26.5. Exact commands for each OS are on this page.
Is CVE-2026-39822 being exploited?
CVE-2026-39822 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-39822 affect?
CVE-2026-39822 affects go. Severity is high (CVSS 7.8). 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
How urgent is CVE-2026-39822?
Priority 31/100. High severity
Software pages
Related CVEs
- CVE-2026-42505 MEDIUM 5.3 UPGRADE Handshakes which used Encrypted Client Hello could be de-anonymized by a passive network observer due to a dis