CVE-2026-115424
published medium CVSS 3.1 · 5.5Oc: oc: symlink/hardlink target validation bypass in oc image extract allows file write outside destination
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift-clientsRed Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift-clientsRed Hat OpenShift Container Platform 5 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 5 | Affected | Not stated | redhat |
Description
A flaw was found in the OpenShift client oc. When extracting container image layers with oc image extract, the application fails to properly sanitize symbolic and hard link targets pointing to absolute paths or to sibling directories of the extraction destination. An attacker who supplies a malicious container image can exploit this vulnerability by embedding links, and a chained file entry, that reference locations outside the intended extraction directory. This allows the attacker to write attacker-controlled content to arbitrary locations on the host filesystem with the privileges of the user running the command, potentially leading to file modification outside the destination directory.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
Weaknesses
1- CWE-61 UNIX Symbolic Link (Symlink) Following
References
2- https://access.redhat.com/security/cve/CVE-2026-115424
- RHBZ#2558338 https://bugzilla.redhat.com/show_bug.cgi?id=2558338
Provider assertions
2redhat · cna
Oc: oc: symlink/hardlink target validation bypass in oc image extract allows file write outside destination
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cad411eca4b56f091242ed966f5acfae223614f2eb361b1e8b7d2063241d6e09
- Ingested
- 02 Nov 2026, 21:13:31 UTC
- Source record
- Official CVE record