Root escape via symlink plus trailing slash in os
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 27 fixed, 12 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat.
Summary
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 it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Go standard library | os | before 1.25.12; 1.26.0-0 to before 1.26.5; 1.27.0-0 to before 1.27.0-rc.2 | 1.25.12, 1.26.5, 1.27.0-rc.2 | Patch available | CNA |
- os VendorGo standard library Affected before 1.25.12; 1.26.0-0 to before 1.26.5; 1.27.0-0 to before 1.27.0-rc.2 Fixed in 1.25.12, 1.26.5, 1.27.0-rc.2 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | 1.24.0 to before 1.25.12; 1.26.0 to before 1.26.5 | Vulnerable | Go standard library |
| cpe:2.3:a:golang:go:1.27:rc1:*:*:*:*:*:* | 1.27 rc1 | Vulnerable | Go standard library |
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* Versions 1.24.0 to before 1.25.12; 1.26.0 to before 1.26.5 Vulnerable ·Go standard library
- cpe:2.3:a:golang:go:1.27:rc1:*:*:*:*:*:* Versions 1.27 rc1 Vulnerable ·Go standard library
Remediation
- Fix · CNA os (Go standard library) Fixed in 1.25.12, 1.26.5, 1.27.0-rc.2
Red Hat 36 advisories
- RHSA-2026:95612 Released 2026-11-05 · Red Hat rating ImportantOpenShift Compliance Operator bug fix and enhancement update
- OpenShift Compliance Operator 1 registry.redhat.io/compliance/openshift-compliance-rhel8-operator
- RHSA-2026:95591 Released 2026-11-05 · Red Hat rating ImportantCluster Observability Operator - 1.5
- Cluster Observability Operator 1.5 registry.redhat.io/cluster-observability-operator/alertmanager-rhel9, registry.redhat.io/cluster-observability-operator/cluster-observability-rhel9-operator, registry.redhat.io/cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9 +16
- RHSA-2026:95081 Released 2026-11-04 · Red Hat rating ImportantCluster Observability Operator - 1.5
- Cluster Observability Operator 1.5 registry.redhat.io/cluster-observability-operator/alertmanager-rhel9, registry.redhat.io/cluster-observability-operator/cluster-observability-rhel9-operator, registry.redhat.io/cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9 +16
Show 33 more Red Hat advisories
- RHSA-2026:92303 Released 2026-10-29 · Red Hat rating Importantmulticluster engine for Kubernetes v2.8.12 security update
- multicluster engine for Kubernetes 2.8 registry.redhat.io/multicluster-engine/addon-manager-rhel9, registry.redhat.io/multicluster-engine/backplane-rhel9-operator, registry.redhat.io/multicluster-engine/cluster-curator-controller-rhel9 +12
- RHSA-2026:91249 Released 2026-10-27 · Red Hat rating CriticalRed Hat AI Base Images 3.5.5 (Neuron)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-neuron-rhel9
- RHSA-2026:91248 Released 2026-10-27 · Red Hat rating CriticalRed Hat AI Base Images 3.4.6 (Neuron)
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhai/base-image-neuron-rhel9
- RHSA-2026:82372 Released 2026-10-13 · Red Hat rating Importantcert-manager Operator for Red Hat OpenShift 1.18.2
- Cert Manager support for Red Hat OpenShift release 1.18 registry.redhat.io/cert-manager/cert-manager-operator-rhel9
- RHSA-2026:82354 Released 2026-10-13 · Red Hat rating Importantcert-manager Operator for Red Hat OpenShift 1.18.2
- Cert Manager support for Red Hat OpenShift release 1.18 registry.redhat.io/cert-manager/cert-manager-istio-csr-rhel9
- RHSA-2026:82347 Released 2026-10-13 · Red Hat rating Importantcert-manager Operator for Red Hat OpenShift 1.18.2
- Cert Manager support for Red Hat OpenShift release 1.18 registry.redhat.io/cert-manager/jetstack-cert-manager-acmesolver-rhel9, registry.redhat.io/cert-manager/jetstack-cert-manager-rhel9
- RHSA-2026:74511 Released 2026-10-01 · Red Hat rating ImportantRed Hat Quay 3.17.5
- Red Hat Quay 3.17 registry.redhat.io/quay/quay-rhel9
- RHSA-2026:70267 Released 2026-09-22 · Red Hat rating ImportantRed Hat Quay 3.14.9
- Red Hat Quay 3.14 registry.redhat.io/quay/quay-rhel8
- RHSA-2026:69255 Released 2026-09-21 · Red Hat rating ImportantRed Hat Quay 3.16.6
- Red Hat Quay 3.16 registry.redhat.io/quay/quay-rhel9
- RHSA-2026:66350 Released 2026-09-15 · Red Hat rating ImportantOpenShift Container Platform 4.21.33 packages and security update
- Red Hat OpenShift Container Platform 4.21 openshift-4.21.0-202609022229.p2.g93afd70.assembly.stream.el10, openshift-4.21.0-202609022229.p2.g93afd70.assembly.stream.el8, openshift-4.21.0-202609022229.p2.g93afd70.assembly.stream.el9 +20
- RHSA-2026:66375 Released 2026-09-15 · Red Hat rating ImportantOpenShift Container Platform 4.20.38 packages and security update
- Red Hat OpenShift Container Platform 4.20 openshift-4.20.0-202609041738.p2.g4012064.assembly.stream.el8, openshift-4.20.0-202609041738.p2.g4012064.assembly.stream.el9, openshift-hyperkube-4.20.0-202609041738.p2.g4012064.assembly.stream.el8 +9
- RHSA-2026:61253 Released 2026-08-31 · Red Hat rating Importantgolang security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) go-toolset-1.26.5-1.el9_2, golang-1.26.5-1.el9_2, golang-bin-1.26.5-1.el9_2 +5
- RHSA-2026:57361 Released 2026-08-25 · Red Hat rating ImportantOpenShift Container Platform 4.22.11 packages and security update
- Red Hat OpenShift Container Platform 4.22 cri-o-1.35.6-5.rhaos4.22.git41f610b.el9, cri-tools-1.35.0-3.el9, openshift-4.22.0-202608190726.p2.g05744ab.assembly.stream.el8 +17
- RHSA-2026:59203 Released 2026-08-24 · Red Hat rating ImportantRHACS 4.10.7 security and bug fix update
- Red Hat Advanced Cluster Security for Kubernetes for IBM Power, little endian 4.10 registry.redhat.io/advanced-cluster-security/rhacs-main-rhel8
- RHSA-2026:59202 Released 2026-08-24 · Red Hat rating ImportantRHACS 4.9.11 security and bug fix update
- Red Hat Advanced Cluster Security 4.9 registry.redhat.io/advanced-cluster-security/rhacs-main-rhel8
- RHSA-2026:57649 Released 2026-08-20 · Red Hat rating Importantgolang security update
- Red Hat Enterprise Linux AppStream E4S (v.9.4) go-toolset-1.26.5-1.el9_4, golang-1.26.5-1.el9_4, golang-bin-1.26.5-1.el9_4 +5
- RHSA-2026:54773 Released 2026-08-13 · Red Hat rating ImportantRed Hat build of OpenTelemetry 3.10.2 release
- Red Hat OpenShift distributed tracing 3.10.1 registry.redhat.io/rhosdt/opentelemetry-collector-rhel9, registry.redhat.io/rhosdt/opentelemetry-rhel9-operator
- RHSA-2026:53520 Released 2026-08-11 · Red Hat rating ImportantRed Hat Quay 3.10.25
- Red Hat Quay 3.10 registry.redhat.io/quay/quay-rhel8
- RHSA-2026:52968 Released 2026-08-10 · Red Hat rating ImportantRed Hat Quay 3.12.21
- Red Hat Quay 3.12 registry.redhat.io/quay/quay-rhel8
- RHSA-2026:50931 Released 2026-08-05 · Red Hat rating ImportantRed Hat Quay 3.9.25
- Red Hat Quay 3.9 registry.redhat.io/quay/quay-rhel8
- RHSA-2026:49712 Released 2026-08-03 · Red Hat rating Importantgolang security update
- Red Hat Enterprise Linux AppStream EUS (v.9.6) go-toolset-1.26.5-1.el9_6, golang-1.26.5-1.el9_6, golang-bin-1.26.5-1.el9_6 +5
- RHSA-2026:49702 Released 2026-08-03 · Red Hat rating Importantgolang security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) go-toolset-1.26.5-1.el10_0, golang-1.26.5-1.el10_0, golang-bin-1.26.5-1.el10_0 +5
- RHSA-2026:48891 Released 2026-07-30 · Red Hat rating ImportantRHACS 4.11.2 security and bug fix update
- Red Hat Advanced Cluster Security for Kubernetes 4.11 registry.redhat.io/advanced-cluster-security/rhacs-main-rhel9
- RHSA-2026:44624 Released 2026-07-23 · Red Hat rating ImportantRed Hat OpenShift distributed tracing platform (Tempo) 3.10.2 release
- Red Hat OpenShift distributed tracing 3.10.1 registry.redhat.io/rhosdt/tempo-gateway-opa-rhel9, registry.redhat.io/rhosdt/tempo-gateway-rhel9, registry.redhat.io/rhosdt/tempo-jaeger-query-rhel9 +4
- RHSA-2026:38995 Released 2026-07-13 · Red Hat rating Importantgo-toolset:rhel8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) delve-1.26.1-1.module+el8.10.0+24516+40554724.aarch64::go-toolset:rhel8, delve-1.26.1-1.module+el8.10.0+24516+40554724.ppc64le::go-toolset:rhel8, delve-1.26.1-1.module+el8.10.0+24516+40554724.src::go-toolset:rhel8 +22
- RHSA-2026:38878 Released 2026-07-13 · Red Hat rating Importantpodman security update
- Red Hat Enterprise Linux AppStream (v. 9) podman-6:5.8.2-5.el9_8, podman-docker-6:5.8.2-5.el9_8, podman-plugins-6:5.8.2-5.el9_8 +2
- RHSA-2026:38493 Released 2026-07-13 · Red Hat rating Importantbuildah security update
- Red Hat Enterprise Linux AppStream (v. 9) buildah-2:1.43.1-4.el9_8, buildah-tests-2:1.43.1-4.el9_8
- RHSA-2026:38495 Released 2026-07-13 · Red Hat rating Importantpodman security update
- Red Hat Enterprise Linux AppStream (v. 10) podman-7:5.8.2-5.el10_2, podman-docker-7:5.8.2-5.el10_2, podman-remote-7:5.8.2-5.el10_2
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) podman-tests-7:5.8.2-5.el10_2
- RHSA-2026:38494 Released 2026-07-13 · Red Hat rating Importantbuildah security update
- Red Hat Enterprise Linux AppStream (v. 10) buildah-2:1.43.1-4.el10_2, buildah-tests-2:1.43.1-4.el10_2
- RHSA-2026:37435 Released 2026-07-09 · Red Hat rating Importantgolang security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) go-toolset-1.26.5-1.el9_8, golang-1.26.5-1.el9_8, golang-bin-1.26.5-1.el9_8 +5
- RHSA-2026:37436 Released 2026-07-09 · Red Hat rating Importantgolang security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) go-toolset-1.26.5-1.el10_2, golang-1.26.5-1.el10_2, golang-bin-1.26.5-1.el10_2 +5
- RHSA-2026:36510 Released 2026-07-08 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images golang1.25-1.25.12-0.1.hum1@aarch64, golang1.25-1.25.12-0.1.hum1@src, golang1.25-1.25.12-0.1.hum1@x86_64 +10
- RHSA-2026:36477 Released 2026-07-08 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images golang1.26-1.26.5-0.1.hum1@aarch64, golang1.26-1.26.5-0.1.hum1@src, golang1.26-1.26.5-0.1.hum1@x86_64 +10
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| ExternalDNS Operator | Affected | No fix yet |
| File Integrity Operator | Affected | No fix yet |
| Logging Subsystem for Red Hat OpenShift | Affected | No fix planned: Will not fix |
| Multicluster Engine for Kubernetes | Affected | No fix yet |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
| Red Hat Ceph Storage 7 | Affected | No fix yet: Fix deferred |
| Red Hat Ceph Storage 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat OpenShift Virtualization 4 | Affected | No fix yet |
| Cert Manager support for Red Hat OpenShift release 1.18 | Fixed | RHSA-2026:82347, RHSA-2026:82354, RHSA-2026:82372 |
| Cluster Observability Operator 1.5 | Fixed | RHSA-2026:95081, RHSA-2026:95591 |
| OpenShift Compliance Operator 1 | Fixed | RHSA-2026:95612 |
| Red Hat Advanced Cluster Security 4.9 | Fixed | RHSA-2026:59202 |
| Red Hat Advanced Cluster Security for Kubernetes 4.11 | Fixed | RHSA-2026:48891 |
| Red Hat Advanced Cluster Security for Kubernetes for IBM Power, little endian 4.10 | Fixed | RHSA-2026:59203 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:37436, RHSA-2026:38494 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:38995 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:37435, RHSA-2026:38493, RHSA-2026:38878 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:61253 |
| Red Hat Enterprise Linux AppStream E4S (v.9.4) | Fixed | RHSA-2026:57649 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:49702 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:49712 |
| Red Hat Hardened Images | Fixed | RHSA-2026:36477, RHSA-2026:36510 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:91248 |
| Red Hat OpenShift AI 3.5 | Fixed | RHSA-2026:91249 |
| Red Hat OpenShift Container Platform 4.20 | Fixed | RHSA-2026:66375 |
| Red Hat OpenShift Container Platform 4.21 | Fixed | RHSA-2026:66350 |
| Red Hat OpenShift Container Platform 4.22 | Fixed | RHSA-2026:57361 |
| Red Hat OpenShift distributed tracing 3.10.1 | Fixed | RHSA-2026:44624, RHSA-2026:54773 |
| Red Hat Quay 3.10 | Fixed | RHSA-2026:53520 |
| Red Hat Quay 3.12 | Fixed | RHSA-2026:52968 |
| Red Hat Quay 3.14 | Fixed | RHSA-2026:70267 |
| Red Hat Quay 3.16 | Fixed | RHSA-2026:69255 |
| Red Hat Quay 3.17 | Fixed | RHSA-2026:74511 |
| Red Hat Quay 3.9 | Fixed | RHSA-2026:50931 |
| multicluster engine for Kubernetes 2.8 | Fixed | RHSA-2026:92303 |
Not affected: 86 products
- Assisted Installer for Red Hat OpenShift Container Platform 2
- Builds for Red Hat OpenShift
- Cluster Observability Operator 1.5
- Compliance Operator
- Confidential Compute Attestation
- Cryostat 4
- Custom Metric Autoscaler operator for Red Hat Openshift
- Deployment Validation Operator
- External Secrets Operator for Red Hat OpenShift
- Fence Agents Remediation Operator
- File Integrity Operator
- Gatekeeper 3
- Ironic content for Red Hat OpenShift Container Platform 4.22
- Logging Subsystem for Red Hat OpenShift
- Logical Volume Manager Storage
- Machine Deletion Remediation Operator
- Migration Toolkit for Applications 8
- Migration Toolkit for Containers
- Multiarch Tuning Operator
- Multicluster Engine for Kubernetes
- Multicluster Global Hub
- Network Observability Operator
- Node HealthCheck Operator
- OpenShift API for Data Protection
- OpenShift Compliance Operator 1
- OpenShift Developer Tools and Services
- OpenShift Lightspeed
- OpenShift Pipelines
- OpenShift Serverless
- OpenShift Service Mesh 3
- OpenShift Source-to-Image (S2I)
- Power monitoring for Red Hat OpenShift
- Red Hat 3scale API Management Platform 2
- Red Hat AMQ Clients
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Advanced Cluster Security 4.9
- Red Hat Advanced Cluster Security for Kubernetes 4.11
- Red Hat Advanced Cluster Security for Kubernetes for IBM Power, little endian 4.10
- Red Hat Ansible Automation Platform 2
- Red Hat Ceph Storage 5
- Red Hat Ceph Storage 6
- Red Hat Ceph Storage 9
- Red Hat Connectivity Link 1
- Red Hat Developer Hub 1
- Red Hat Edge Manager 1
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Hardened Images
- Red Hat Lightspeed for Runtimes Operator
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Cluster Manager CLI
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 4.21
- Red Hat OpenShift Container Platform 4.22
- Red Hat OpenShift Container Platform 5
- Red Hat OpenShift Dev Spaces
- Red Hat OpenShift Dev Workspaces Operator
- Red Hat OpenShift GitOps
- Red Hat OpenShift Virtualization 4
- Red Hat OpenShift distributed tracing 3.10.1
- Red Hat OpenShift for Windows Containers
- Red Hat OpenShift on AWS
- Red Hat OpenStack Platform 16.2
- Red Hat OpenStack Platform 17.1
- Red Hat OpenStack Platform 18.0
- Red Hat Openshift Data Foundation 4
- Red Hat Quay 3.10
- Red Hat Quay 3.12
- Red Hat Quay 3.14
- Red Hat Quay 3.16
- Red Hat Quay 3.17
- Red Hat Quay 3.9
- Red Hat Satellite 6
- Red Hat Service Interconnect 2
- Red Hat Trusted Artifact Signer
- Red Hat Web Terminal
- Security Profiles Operator
- Service Telemetry Framework 1.5
- Zero Trust Workload Identity Manager
- Zero Trust Workload Identity Manager - Tech Preview
- mirror registry for Red Hat OpenShift 2
- multicluster engine for Kubernetes 2.8
- streams for Apache Kafka 2
- streams for Apache Kafka 3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-39822
- 2026-10-03 Alias added: GHSA-xcgv-8mv7-v8c7
- 2026-10-14 Fix available: RHSA-2026:82372 · Red Hat
- 2026-10-14 Fix available: RHSA-2026:82354 · Red Hat
- 2026-10-14 Fix available: RHSA-2026:82347 · Red Hat
- 2026-10-15 Fix available: Cert Manager support for Red Hat OpenShift release 1.18 · Red Hat
- 2026-10-22 Fix available: Red Hat Advanced Cluster Security for Kubernetes for IBM Z and LinuxONE 4.11 · Red Hat
- 2026-10-27 Affected versions changed · Red Hat
- 2026-10-30 Fix available: RHSA-2026:91248 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:91249 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:92303 · Red Hat
- 2026-10-30 Fix available: Red Hat OpenShift AI 3.4, Red Hat OpenShift AI 3.5, multicluster engine for Kubernetes 2.8 · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
- 2026-10-31 Fix available: Red Hat Advanced Cluster Security for Kubernetes 4.11, Red Hat OpenShift distributed tracing 3.10.1 · Red Hat
- 2026-11-04 Fix available: RHSA-2026:95081 · Red Hat
- 2026-11-04 Fix available: Cluster Observability Operator 1.5, Red Hat Advanced Cluster Security for Kubernetes for IBM Power, little endian 4.10 · Red Hat
- 2026-11-06 Fix available: OpenShift Compliance Operator 1 · Red Hat
- 2026-11-06 Fix available: RHSA-2026:95591 · Red Hat
- 2026-11-06 Fix available: RHSA-2026:95612 · Red Hat
References
More Go standard library Go vulnerabilities
- TI-2020-00578 Improper certificate validation in Microsoft Windows KEVCVSS 3.1HIGH 8.1
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2018-05208 The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used… CVSS 3.1HIGH 8.8
- TI-2018-12083 Improper input validation in [UNKNOWN] golang CVSS 3.1HIGH 8.1
- TI-2024-16306 Mishandling of corrupt central directory record in archive/zip CVSS 3.1MEDIUM 5.5
- TI-2021-15910 Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-39822 · CVE Program
- CVE-2026-39822 · NVD
- FIRST EPSS
- GHSA-xcgv-8mv7-v8c7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-39822 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences