oras-go: file store write outside workingDir via symlink traversal
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Partial Red Hat: 9 fixed, 15 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, resolveWritePath() in content/file/file.go uses a lexical filepath.Rel check for workingDir and does not account for symlink traversal, so when AllowPathTraversalOnWrite=false an attacker-controlled blob title through ocispec.AnnotationTitle such as out/pwn.txt can follow a workingDir symlink out -> /some/outside/dir and cause pushFile() to create /some/outside/dir/pwn.txt outside workingDir. This issue is fixed in version 2.6.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
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 |
|---|---|---|---|---|---|
| oras-project | oras-go | before 2.6.1 | 2.6.1 | Patch available | CNA |
| — | oras.land/oras-go/v2 (Go) | before 2.6.1 | 2.6.1 | Patch available | GHSA-8xwf-rjm4-xvhv |
- oras-go Vendororas-project Affected before 2.6.1 Fixed in 2.6.1 Patch available CNA
- oras.land/oras-go/v2 (Go) Vendor— Affected before 2.6.1 Fixed in 2.6.1 Patch available GHSA-8xwf-rjm4-xvhv
Remediation
- Fix · CNA oras-go (oras-project) Fixed in 2.6.1
- Fix · GHSA-8xwf-rjm4-xvhv oras.land/oras-go/v2 (Go) Fixed in 2.6.1 Advisory →
Red Hat 12 advisories
- RHSA-2026:84734 Released 2026-10-19 · Red Hat rating CriticalRHOAI 3.4.5 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9, registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9 +47
- RHSA-2026:83663 Released 2026-10-15 · Red Hat rating ImportantMTV RHEL9 Images
- Migration Toolkit for Virtualization 2.10 registry.redhat.io/migration-toolkit-virtualization/mtv-api-rhel9, registry.redhat.io/migration-toolkit-virtualization/mtv-console-plugin-rhel9, registry.redhat.io/migration-toolkit-virtualization/mtv-validation-rhel9
- RHSA-2026:83662 Released 2026-10-15 · Red Hat rating ImportantMTV RHEL9 Images
- Migration Toolkit for Virtualization 2.11 registry.redhat.io/migration-toolkit-virtualization/mtv-api-rhel9, registry.redhat.io/migration-toolkit-virtualization/mtv-console-plugin-rhel9, registry.redhat.io/migration-toolkit-virtualization/mtv-validation-rhel9 +1
Show 9 more Red Hat advisories
- RHSA-2026:77273 Released 2026-10-07 · Red Hat rating ImportantRed Hat OpenShift GitOps v1.20.8 security update
- Red Hat OpenShift GitOps 1.20 registry.redhat.io/openshift-gitops-1/argocd-rhel9, registry.redhat.io/openshift-gitops-1/dex-rhel9
- RHSA-2026:77269 Released 2026-10-07 · Red Hat rating ImportantRed Hat OpenShift GitOps v1.21.5 security update
- Red Hat OpenShift GitOps 1.21 registry.redhat.io/openshift-gitops-1/argocd-rhel9, registry.redhat.io/openshift-gitops-1/dex-rhel9, registry.redhat.io/openshift-gitops-1/gitops-rhel9-operator
- RHSA-2026:76752 Released 2026-10-06 · Red Hat rating ImportantOpenShift Security Profiles Operator bug fix and enhancement update
- OpenShift Security Profiles Operator 1 registry.redhat.io/compliance/openshift-security-profiles-operator-bundle, registry.redhat.io/compliance/openshift-security-profiles-rhel8-operator, registry.redhat.io/compliance/openshift-selinuxd-rhel8
- RHSA-2026:68254 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.2.1 Security Update
- Red Hat Edge Manager 1.2 registry.redhat.io/rhem/flightctl-alert-exporter-rhel9, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel9, registry.redhat.io/rhem/flightctl-api-rhel9 +11
- RHSA-2026:68253 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.1.4 Security Update
- Red Hat Edge Manager 1.1 registry.redhat.io/rhem/flightctl-alert-exporter-rhel9, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel9, registry.redhat.io/rhem/flightctl-api-rhel9 +10
- RHSA-2026:68044 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.1.4 Security Update
- Red Hat Edge Manager 1.1 registry.redhat.io/rhem/flightctl-alert-exporter-rhel10, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel10, registry.redhat.io/rhem/flightctl-api-rhel10 +11
- RHSA-2026:68006 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.2.1 Security Update
- Red Hat Edge Manager 1.2 registry.redhat.io/rhem/flightctl-alert-exporter-rhel10, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel10, registry.redhat.io/rhem/flightctl-api-rhel10 +11
- RHSA-2026:42241 Released 2026-07-20 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images helm3-3.21.3-0.1.2.hum1@aarch64, helm3-3.21.3-0.1.2.hum1@src, helm3-3.21.3-0.1.2.hum1@x86_64
- RHSA-2026:42230 Released 2026-07-20 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images helm4-4.2.3-0.1.2.hum1@aarch64, helm4-4.2.3-0.1.2.hum1@src, helm4-4.2.3-0.1.2.hum1@x86_64
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Assisted Installer for Red Hat OpenShift Container Platform 2 | Affected | No fix yet |
| MCP Server for Red Hat OpenShift | Affected | No fix planned: Will not fix |
| OpenShift Lightspeed | Affected | No fix yet |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
| Red Hat Advanced Cluster Security 4 | Affected | No fix yet |
| Red Hat Ceph Storage 9 | Affected | No fix yet: Fix deferred |
| Red Hat Developer Hub 1 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat OpenShift GitOps | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Virtualization 4 | Affected | No fix yet: Fix deferred |
| Red Hat Openshift Data Foundation 4 | Affected | No fix yet: Fix deferred |
| Red Hat Trusted Artifact Signer | Affected | No fix yet |
| Red Hat Trusted Profile Analyzer | Affected | No fix yet |
| Red Hat Web Terminal | Affected | No fix yet: Fix deferred |
| Migration Toolkit for Virtualization 2.10 | Fixed | RHSA-2026:83663 |
| Migration Toolkit for Virtualization 2.11 | Fixed | RHSA-2026:83662 |
| OpenShift Security Profiles Operator 1 | Fixed | RHSA-2026:76752 |
| Red Hat Edge Manager 1.1 | Fixed | RHSA-2026:68044, RHSA-2026:68253 |
| Red Hat Edge Manager 1.2 | Fixed | RHSA-2026:68006, RHSA-2026:68254 |
| Red Hat Hardened Images | Fixed | RHSA-2026:42230, RHSA-2026:42241 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:84734 |
| Red Hat OpenShift GitOps 1.20 | Fixed | RHSA-2026:77273 |
| Red Hat OpenShift GitOps 1.21 | Fixed | RHSA-2026:77269 |
Not affected: 23 products
- Deployment Validation Operator
- Gatekeeper 3
- Migration Toolkit for Virtualization 2.10
- Migration Toolkit for Virtualization 2.11
- Multicluster Global Hub
- OpenShift Developer Tools and Services
- OpenShift Security Profiles Operator 1
- OpenShift Service Mesh 3
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Advanced Cluster Security 4
- Red Hat Edge Manager 1
- Red Hat Edge Manager 1.1
- Red Hat Edge Manager 1.2
- Red Hat Hardened Images
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
- Red Hat OpenShift GitOps
- Red Hat OpenShift GitOps 1.20
- Red Hat OpenShift GitOps 1.21
- Red Hat OpenStack Platform 16.2
- Red Hat OpenStack Platform 17.1
- Red Hat OpenStack Platform 18.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-50162
- 2026-10-03 Alias added: GHSA-8xwf-rjm4-xvhv
- 2026-10-07 Fix available: RHSA-2026:77269 · Red Hat
- 2026-10-07 Fix available: RHSA-2026:77273 · Red Hat
- 2026-10-07 Fix available: Red Hat OpenShift GitOps 1.20, Red Hat OpenShift GitOps 1.21 · Red Hat
- 2026-10-07 Fix available: RHSA-2026:76752 · Red Hat
- 2026-10-07 Fix available: OpenShift Security Profiles Operator 1 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:83662 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:83663 · Red Hat
- 2026-10-16 Fix available: Migration Toolkit for Virtualization 2.10, Migration Toolkit for Virtualization 2.11 · Red Hat
- 2026-10-20 Fix available: RHSA-2026:84734 · Red Hat
- 2026-10-20 Fix available: Red Hat OpenShift AI 3.4 · Red Hat
- 2026-10-27 Affected versions changed · Red Hat
- 2026-11-01 Affected versions changed · Red Hat
References
More oras-project vulnerabilities
- TI-2026-58829 oras-go: Arbitrary file write outside file.Store root via symlink-chain bypass in tar extraction (pushDir) CVSS 3.1HIGH 8.8
- TI-2026-36927 Path traversal in oras-project oras-go CVSS 3.1HIGH 7.1
- TI-2026-58830 oras-go: Blind SSRF via unvalidated Link header URL in pagination allows internal network probing CVSS 3.1MEDIUM 4.7
- TI-2026-40126 ORAS CLI: Cyclic Referrer Graph Can Cause Unbounded Recursion and Resource Consumption CVSS 3.1MEDIUM 6.5
- TI-2026-36234 oras-go: Malicious registry can hijack Bearer token realm to exfiltrate credentials and refresh tokens CVSS 4.0LOW 2.1
Sources
- CVE-2026-50162 · CVE Program
- CVE-2026-50162 · NVD
- FIRST EPSS
- GHSA-8xwf-rjm4-xvhv · GitHub Advisory Database · CC BY 4.0
- CVE-2026-50162 · 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