CVE Vulnerabilities

CVE-2026-39822

UNIX Symbolic Link (Symlink) Following

Published: Jul 08, 2026 | Modified: Sep 17, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.8 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.

Affected Software

NameVendorStart VersionEnd Version
GoGolang1.24.0 (including)1.25.12 (excluding)
GoGolang1.26.0 (including)1.26.5 (excluding)
GoGolang1.27-rc1 (including)1.27-rc1 (including)
Red Hat Enterprise Linux 10RedHatgolang-0:1.26.5-1.el10_2*
Red Hat Enterprise Linux 10RedHatbuildah-2:1.43.1-4.el10_2*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatgolang-0:1.26.5-1.el10_0*
Red Hat Enterprise Linux 8RedHatgo-toolset:rhel8-8100020260710105056.a3795dee*
Red Hat Enterprise Linux 9RedHatgolang-0:1.26.5-1.el9_8*
Red Hat Enterprise Linux 9RedHatbuildah-2:1.43.1-4.el9_8*
Red Hat Enterprise Linux 9RedHatpodman-6:5.8.2-5.el9_8*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatgolang-0:1.26.5-1.el9_2*
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRedHatgolang-0:1.26.5-1.el9_4*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatgolang-0:1.26.5-1.el9_6*
Red Hat OpenShift Container Platform 4.20RedHatopenshift-0:4.20.0-202609041738.p2.g4012064.assembly.stream.el8*
Red Hat OpenShift Container Platform 4.21RedHatopenshift-0:4.21.0-202609022229.p2.g93afd70.assembly.stream.el10*
Red Hat OpenShift Container Platform 4.22RedHatopenshift-0:4.22.0-202608190726.p2.g05744ab.assembly.stream.el8*
Red Hat Advanced Cluster Security 4.9RedHatadvanced-cluster-security/rhacs-main-rhel8:1787584486*
Red Hat Advanced Cluster Security for Kubernetes 4.10RedHatadvanced-cluster-security/rhacs-main-rhel8:1787584487*
Red Hat Advanced Cluster Security for Kubernetes 4.11RedHatadvanced-cluster-security/rhacs-main-rhel9:1785415868*
Red Hat Hardened ImagesRedHatgolang1-26-main-1.26.5-0.1.hum1*
Red Hat Hardened ImagesRedHatgolang1-25-main-1.25.12-0.1.hum1*
Red Hat OpenShift distributed tracing 3.10.2RedHatrhosdt/tempo-gateway-opa-rhel9:1784775772*
Red Hat OpenShift distributed tracing 3.10.2RedHatrhosdt/tempo-gateway-rhel9:1784775770*
Red Hat OpenShift distributed tracing 3.10.2RedHatrhosdt/tempo-jaeger-query-rhel9:1784775834*
Red Hat OpenShift distributed tracing 3.10.2RedHatrhosdt/tempo-operator-bundle:1784777166*
Red Hat OpenShift distributed tracing 3.10.2RedHatrhosdt/tempo-query-rhel9:1784775793*
Red Hat OpenShift distributed tracing 3.10.2RedHatrhosdt/tempo-rhel9:1784775768*
Red Hat OpenShift distributed tracing 3.10.2RedHatrhosdt/tempo-rhel9-operator:1784775782*
Red Hat OpenShift distributed tracing 3.10.2RedHatrhosdt/opentelemetry-collector-rhel9:1786637598*
Red Hat OpenShift distributed tracing 3.10.2RedHatrhosdt/opentelemetry-rhel9-operator:1786635175*
Red Hat Quay 3.10RedHatquay/quay-rhel8:1786395065*
Red Hat Quay 3.12RedHatquay/quay-rhel8:1786170635*
Red Hat Quay 3.14RedHatquay/quay-rhel8:1788593843*
Red Hat Quay 3.16RedHatquay/quay-rhel9:1789563753*
Red Hat Quay 3.9RedHatquay/quay-rhel8:1785950004*
Golang-1.23Ubuntuquesting*
Golang-1.24Ubuntuquesting*
Golang-1.25Ubuntuquesting*

Potential Mitigations

  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

References