CVE-2026-39822
published high CVSS 3.1 · 7.8Root escape via symlink plus trailing slash in os
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Go standard library | — | os0 to < 1.25.12 · 1.26.0-0 to < 1.26.5 · 1.27.0-0 to < 1.27.0-rc.2 · Other versions: unaffected | Affected | Not stated | Go |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3818 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3819 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3844 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3903 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | buildah | Advisory build | 2:1.43.1-4.el10_2 | ALSA-2026:38494 |
| Alpine Linux | edge | go | Fixed | 1.26.5-r0 | Package fix record |
Show 132 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-137 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-140 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-141 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-143 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-145 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-146 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-147 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-136 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-138 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-142 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-143 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-144 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-118 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-119 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-121 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-122 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-123 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1975 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1976 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1977 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1978 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1979 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1989 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2023 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2025 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2129 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2131 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2138 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3129 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3153 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3180 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3205 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3206 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | buildahaarch64 | Advisory build | 2:1.43.1-4.0.1.el10_2 | ELSA-2026-38494 |
| AlmaLinux | 10 | buildah-tests | Advisory build | 2:1.43.1-4.el10_2 | ALSA-2026:38494 |
| AlmaLinux | 10 | golang-docs | Advisory build | 1.26.5-1.el10_2.alma.1 | ALSA-2026:37436 |
| AlmaLinux | 10 | golang-misc | Advisory build | 1.26.5-1.el10_2.alma.1 | ALSA-2026:37436 |
| AlmaLinux | 10 | golang-src | Advisory build | 1.26.5-1.el10_2.alma.1 | ALSA-2026:37436 |
| AlmaLinux | 10 | golang-tests | Advisory build | 1.26.5-1.el10_2.alma.1 | ALSA-2026:37436 |
| AlmaLinux | 10 | podman-docker | Advisory build | 7:5.8.2-5.el10_2.alma.1 | ALSA-2026:38495 |
| AlmaLinux | 8 | delve | Advisory build | 1.26.1-1.module_el8.10.0+4223+bd807c2e | ALSA-2026:38995 |
| AlmaLinux | 8 | go-toolset | Advisory build | 1.26.5-1.module_el8.10.0+4223+bd807c2e | ALSA-2026:38995 |
| AlmaLinux | 8 | golang | Advisory build | 1.26.5-1.module_el8.10.0+4223+bd807c2e | ALSA-2026:38995 |
| AlmaLinux | 8 | golang-bin | Advisory build | 1.26.5-1.module_el8.10.0+4223+bd807c2e | ALSA-2026:38995 |
| AlmaLinux | 8 | golang-docs | Advisory build | 1.26.5-1.module_el8.10.0+4223+bd807c2e | ALSA-2026:38995 |
| AlmaLinux | 8 | golang-misc | Advisory build | 1.26.5-1.module_el8.10.0+4223+bd807c2e | ALSA-2026:38995 |
| AlmaLinux | 8 | golang-race | Advisory build | 1.26.5-1.module_el8.10.0+4223+bd807c2e | ALSA-2026:38995 |
| AlmaLinux | 8 | golang-src | Advisory build | 1.26.5-1.module_el8.10.0+4223+bd807c2e | ALSA-2026:38995 |
| AlmaLinux | 8 | golang-tests | Advisory build | 1.26.5-1.module_el8.10.0+4223+bd807c2e | ALSA-2026:38995 |
| AlmaLinux | 9 | buildah | Advisory build | 2:1.43.1-4.el9_8 | ALSA-2026:38493 |
| AlmaLinux | 9 | buildah-tests | Advisory build | 2:1.43.1-4.el9_8 | ALSA-2026:38493 |
| AlmaLinux | 9 | go-toolset | Advisory build | 1.26.5-1.el9_8 | ALSA-2026:37435 |
| AlmaLinux | 9 | golang | Advisory build | 1.26.5-1.el9_8 | ALSA-2026:37435 |
| AlmaLinux | 9 | golang-bin | Advisory build | 1.26.5-1.el9_8 | ALSA-2026:37435 |
| AlmaLinux | 9 | golang-docs | Advisory build | 1.26.5-1.el9_8 | ALSA-2026:37435 |
| AlmaLinux | 9 | golang-misc | Advisory build | 1.26.5-1.el9_8 | ALSA-2026:37435 |
| AlmaLinux | 9 | golang-race | Advisory build | 1.26.5-1.el9_8 | ALSA-2026:37435 |
| AlmaLinux | 9 | golang-src | Advisory build | 1.26.5-1.el9_8 | ALSA-2026:37435 |
| AlmaLinux | 9 | golang-tests | Advisory build | 1.26.5-1.el9_8 | ALSA-2026:37435 |
| AlmaLinux | 9 | podman | Advisory build | 6:5.8.2-5.el9_8 | ALSA-2026:38878 |
| AlmaLinux | 9 | podman-docker | Advisory build | 6:5.8.2-5.el9_8 | ALSA-2026:38878 |
| AlmaLinux | 9 | podman-plugins | Advisory build | 6:5.8.2-5.el9_8 | ALSA-2026:38878 |
| AlmaLinux | 9 | podman-remote | Advisory build | 6:5.8.2-5.el9_8 | ALSA-2026:38878 |
| AlmaLinux | 9 | podman-tests | Advisory build | 6:5.8.2-5.el9_8 | ALSA-2026:38878 |
| Alpine Linux | v3.24 | go | Fixed | 1.26.8-r0 | Package fix record |
| Oracle Linux | 10 | buildahx86_64 | Advisory build | 2:1.43.1-4.0.1.el10_2 | ELSA-2026-38494 |
| Oracle Linux | 10 | buildah-testsaarch64 | Advisory build | 2:1.43.1-4.0.1.el10_2 | ELSA-2026-38494 |
| Oracle Linux | 10 | buildah-testsx86_64 | Advisory build | 2:1.43.1-4.0.1.el10_2 | ELSA-2026-38494 |
| Oracle Linux | 10 | go-toolsetaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | go-toolsetx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golangaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golangx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-binaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-binx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-docsaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-docsx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-miscaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-miscx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-raceaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-racex86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-srcaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-srcx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-testsaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | golang-testsx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-37436 |
| Oracle Linux | 10 | podmanaarch64 | Advisory build | 7:5.8.2-5.0.1.el10_2 | ELSA-2026-38495 |
| Oracle Linux | 10 | podmanx86_64 | Advisory build | 7:5.8.2-5.0.1.el10_2 | ELSA-2026-38495 |
| Oracle Linux | 10 | podman-dockeraarch64 | Advisory build | 7:5.8.2-5.0.1.el10_2 | ELSA-2026-38495 |
| Oracle Linux | 10 | podman-dockerx86_64 | Advisory build | 7:5.8.2-5.0.1.el10_2 | ELSA-2026-38495 |
| Oracle Linux | 10 | podman-remoteaarch64 | Advisory build | 7:5.8.2-5.0.1.el10_2 | ELSA-2026-38495 |
| Oracle Linux | 10 | podman-remotex86_64 | Advisory build | 7:5.8.2-5.0.1.el10_2 | ELSA-2026-38495 |
| Oracle Linux | 10 | podman-testsaarch64 | Advisory build | 7:5.8.2-5.0.1.el10_2 | ELSA-2026-38495 |
| Oracle Linux | 10 | podman-testsx86_64 | Advisory build | 7:5.8.2-5.0.1.el10_2 | ELSA-2026-38495 |
| Oracle Linux | 8 | delveaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.1-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | delvex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.1-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | go-toolsetaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | go-toolsetx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golangaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golangx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-binaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-binx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-docsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-docsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-miscaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-miscx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-raceaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-racex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-srcaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-srcx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-testsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 8 | golang-testsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3 | ELSA-2026-38995 |
| Oracle Linux | 9 | buildahaarch64 | Advisory build | 2:1.43.1-4.0.1.el9_8 | ELSA-2026-38493 |
| Oracle Linux | 9 | buildahx86_64 | Advisory build | 2:1.43.1-4.0.1.el9_8 | ELSA-2026-38493 |
| Oracle Linux | 9 | buildah-testsaarch64 | Advisory build | 2:1.43.1-4.0.1.el9_8 | ELSA-2026-38493 |
| Oracle Linux | 9 | buildah-testsx86_64 | Advisory build | 2:1.43.1-4.0.1.el9_8 | ELSA-2026-38493 |
| Oracle Linux | 9 | go-toolsetaarch64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | go-toolsetx86_64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golangaarch64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golangx86_64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-binaarch64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-binx86_64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-docsaarch64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-docsx86_64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-miscaarch64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-miscx86_64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-raceaarch64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-racex86_64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-srcaarch64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-srcx86_64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-testsaarch64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | golang-testsx86_64 | Advisory build | 0:1.26.5-1.0.1.el9_8 | ELSA-2026-37435 |
| Oracle Linux | 9 | podmanaarch64 | Advisory build | 6:5.8.2-5.0.1.el9_8 | ELSA-2026-38878 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Go standard library | os | 0 to < 1.25.12 (affected · semver)1.26.0-0 to < 1.26.5 (affected · semver)1.27.0-0 to < 1.27.0-rc.2 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
2- CWE-61 CWE-61: UNIX Symbolic Link (Symlink) Following
- CWE-61 CWE-61 UNIX Symbolic Link (Symlink) Following
References
4Provider assertions
2Go · cna
Root escape via symlink plus trailing slash in os
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b0cfa4938b93df60163931d49a50d2fabdd198d78a34506bf4fd29e62b234178
- Ingested
- 23 Sep 2026, 09:12:25 UTC
- Source record
- Official CVE record