Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-39822

golang: Go os.Root: Symlink following vulnerability allows directory traversal

Overview

Published
8 Jul 2026
Modified
25 Oct 2026
High CVE
2 Registry packages
1,796 OS packages
17 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-61

Affected packages · 2

Packages affected by CVE-2026-39822
EcosystemPackageVulnerableFixed in
Bitnami golang <1.25.12>=1.26.0-0, <1.26.5>=1.27.0-0, <1.27.0 1.25.121.26.51.27.0
Go stdlib <1.25.12>=1.26.0-0, <1.26.5>=1.27.0-0, <1.27.0-rc.2 1.25.121.26.51.27.0-rc.2

Open a package to see all its vulnerabilities.

Operating systems · 1,327 fixes

Azure Linux 1 release · 1 package

fixed 1
golang
Azure Linux fixes for CVE-2026-39822
ReleasePackageFixed in
3.0 golang 0:1.26.5-1.azl3

Oracle Linux 2 releases · 4 packages

fixed 5
delve go-toolset buildah podman
Oracle Linux fixes for CVE-2026-39822
ReleasePackageFixed in
8 delve 1.26.1-1.0.1.module+el8.10.0+90954+4b0fdef3
8 go-toolset +7 1.26.5-1.0.1.module+el8.10.0+90954+4b0fdef3
9 go-toolset +7 1.26.5-1.0.1.el9_8
9 buildah +1 2:1.43.1-4.0.1.el9_8
9 podman +4 6:5.8.2-5.0.1.el9_8

Photon OS 1 release · 1 package

fixed 1
go
Photon OS fixes for CVE-2026-39822
ReleasePackageFixed in
5.0 go 1.26.5-1.ph5

Red Hat 4 releases · 14 packages

affected 3 fixed 28
openshift rhceph-grafana-rhel9 openshift-hyperkube ose-crio-credential-provider openshift-clients ose-azure-acr-image-credential-provider +8
Red Hat fixes for CVE-2026-39822
ReleasePackageFixed inAdvisory
7 openshift +2 affected —
8 rhceph-grafana-rhel9 affected —
8 openshift-hyperkube +4 0:4.20.0-202609041738.p2.g4012064.assembly.stream.el8 RHSA-2026:66375
8 ose-crio-credential-provider 0:4.21.0-202609021357.p2.g83d4961.assembly.stream.el8 RHSA-2026:66350
8 openshift-hyperkube 0:4.21.0-202609022229.p2.g93afd70.assembly.stream.el8 RHSA-2026:66350
8 openshift-clients +1 0:4.21.0-202609071555.p2.gd0bf7cc.assembly.stream.el8 RHSA-2026:66350

25 more rows

SUSE Linux Enterprise 5 releases · 4 packages

fixed 20
go1-25-openssl go1-25 go1-26-openssl go1-26
SUSE Linux Enterprise fixes for CVE-2026-39822
ReleasePackageFixed inAdvisory
15.4 go1-25-openssl +2 1.25.12-150000.1.27.1 SUSE-SU-2026:3046-1
15.4 go1-25 +2 1.25.12-150000.1.44.1 SUSE-SU-2026:2817-1
15.4 go1-26-openssl +2 1.26.5-150000.1.12.1 SUSE-SU-2026:3047-1
15.4 go1-26 +2 1.26.5-150000.1.18.1 SUSE-SU-2026:2818-1
15.5 go1-25-openssl +2 1.25.12-150000.1.27.1 SUSE-SU-2026:3046-1
15.5 go1-25 +2 1.25.12-150000.1.44.1 SUSE-SU-2026:2817-1

14 more rows

alma 3 releases · 6 packages

fixed 7
golang-docs podman-docker delve go-toolset buildah podman
alma fixes for CVE-2026-39822
ReleasePackageFixed in
10 golang-docs +3 1.26.5-1.el10_2.alma.1
10 podman-docker 7:5.8.2-5.el10_2.alma.1
8 (go-toolset:rhel8) delve 1.26.1-1.module_el8.10.0+4223+bd807c2e
8 (go-toolset:rhel8) go-toolset +7 1.26.5-1.module_el8.10.0+4223+bd807c2e
9 go-toolset +7 1.26.5-1.el9_8
9 buildah +1 2:1.43.1-4.el9_8

1 more row

alpine 2 releases · 1 package

fixed 2
go
alpine fixes for CVE-2026-39822
ReleasePackageFixed in
3.24 go 1.26.8-r0
edge go 1.26.5-r0

amazon linux 1 release · 16 packages

fixed 16
oci-add-hooks golist amazon-ecr-credential-helper soci-snapshotter golang-github-burntsushi-toml-test runfinch-finch +10
amazon linux fixes for CVE-2026-39822
ReleasePackageFixed in
2023 oci-add-hooks +2 0-0.1.20200504git268e3bb.amzn2023.0.12
2023 golist +2 0.10.4-12.amzn2023.0.11
2023 amazon-ecr-credential-helper 0.12.0-4.amzn2023
2023 soci-snapshotter 0.16.0-1.amzn2023.0.1
2023 golang-github-burntsushi-toml-test +3 0.2.0-8.amzn2023.0.5
2023 runfinch-finch 1.17.2-1.amzn2023.0.3

10 more rows

chainguard 1 release · 288 packages

not affected 1 fixed 287
actionlint reports-server grype grype-fips upwind-agent undock +282
chainguard fixes for CVE-2026-39822
ReleasePackageFixed in
actionlint +2064 not affected
reports-server 0.1.7-r2
grype 0.115.0-r2
grype-fips 0.115.0-r3
upwind-agent 0.131.0-r0
undock 0.14.0-r3

282 more rows

debian 2 releases · 3 packages

affected 2 fixed 2
golang-1-24 golang-1-26 golang-1-27
debian fixes for CVE-2026-39822
ReleasePackageFixed in
13 golang-1-24 affected
14 golang-1-24 affected
14 golang-1-26 1.26.5-1
14 golang-1-27 1.27~rc2-1

echo 1 release · 1 package

affected 1
golang-1-24
echo fixes for CVE-2026-39822
ReleasePackageFixed in
golang-1-24 affected

minimos 1 release · 865 packages

fixed 865
pombump local-path-provisioner tw promxy cargobump plural-git-server +859
minimos fixes for CVE-2026-39822
ReleasePackageFixed in
pombump 0.0.16-r10
local-path-provisioner +1 0.0.36-r2
tw 0.0.49-r4
promxy +1 0.0.96-r1
cargobump 0.1.1-r6
plural-git-server 0.1.10-r4

859 more rows

openSUSE 1 release · 3 packages

fixed 3
go1-25 go1-26 logcli
openSUSE fixes for CVE-2026-39822
ReleasePackageFixed inAdvisory
Tumbleweed go1-25 +2 1.25.12-1.1 openSUSE-SU-2026:11212-1
Tumbleweed go1-26 +2 1.26.5-1.1 openSUSE-SU-2026:11232-1
Tumbleweed logcli +2 3.7.4-1.1 openSUSE-SU-2026:11393-1

openSUSE Leap 1 release · 4 packages

fixed 4
go1-25-openssl go1-25 go1-26-openssl go1-26
openSUSE Leap fixes for CVE-2026-39822
ReleasePackageFixed inAdvisory
16.0 go1-25-openssl +2 1.25.12-160000.1.1 openSUSE-SU-2026:21319-1
16.0 go1-25 +2 1.25.12-160000.1.1 openSUSE-SU-2026:21324-1
16.0 go1-26-openssl +2 1.26.5-160000.1.1 openSUSE-SU-2026:21321-1
16.0 go1-26 +2 1.26.5-160000.1.1 openSUSE-SU-2026:21341-1

rocky 3 releases · 4 packages

fixed 8
go-toolset buildah podman delve
rocky fixes for CVE-2026-39822
ReleasePackageFixed in
10 go-toolset +7 1.26.5-1.el10_2
10 buildah +1 2:1.43.1-4.el10_2
10 podman +2 7:5.8.2-5.el10_2
8 (go-toolset:rhel8) delve 1.26.1-1.module+el8.10.0+40244+e7cb3ff8
8 (go-toolset:rhel8) go-toolset +7 1.26.5-1.module+el8.10.0+40244+e7cb3ff8
9 go-toolset +7 1.26.5-1.el9_8

2 more rows

ubuntu 1 release · 1 package

affected 1
golang-1-25
ubuntu fixes for CVE-2026-39822
ReleasePackageFixed in
26.04 golang-1-25 affected

wolfi 1 release · 70 packages

not affected 1 fixed 69
actionlint grype undock kine kubeflow-katib cilium-cli +64
wolfi fixes for CVE-2026-39822
ReleasePackageFixed in
actionlint +470 not affected
grype 0.115.0-r2
undock 0.14.0-r3
kine 0.16.3-r2
kubeflow-katib 0.19.0-r40
cilium-cli 0.19.5-r2

64 more rows

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.