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.
Published: 2026-10-22
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Write
Action: Patch
AI Analysis

Impact

A flaw in the OpenShift client oc causes it to miss validation of symbolic and hard link targets when extracting container image layers. An attacker who can supply a malicious image can embed links that point to absolute or sibling paths outside the intended extraction directory. Extracting such an image thus allows the attacker to write attacker‑controlled data to arbitrary locations on the host filesystem with the privileges of the user running oc, potentially modifying system files or installing malware.

Affected Systems

Red Hat OpenShift Container Platform 4, including the oc client component. No specific version numbers are listed, but any installation of the current platform that includes the default oc binary is affected.

Risk and Exploitability

The CVSS score of 5.5 denotes moderate severity. EPSS is not available, so the current exploitation likelihood is unknown, and the vulnerability is not listed in CISA KEV. The likely attack vector is through an attacker providing a malicious container image to the oc image extract command, which is conceivable in a build pipeline or static image registry scenario. Because the vulnerability operates on the extraction step, an attacker must have the ability to trigger oc extract on the target system, typically by gaining local user access or controlling automated pipelines.

Generated by OpenCVE AI on October 23, 2026 at 03:42 UTC.

Remediation

Vendor Workaround

Treat container images as trusted inputs when using oc image extract. Do not extract images from registries or publishers you do not control or have not verified. Where possible, run oc image extract as an unprivileged user and into a dedicated, isolated destination directory, and avoid fixed/predictable destination paths in automated or CI pipelines. Restrict who can modify the image references that automated extraction jobs consume. There is no configuration option to disable only this link-extraction behavior. Apply updated oc client packages or rebuilt platform images when Red Hat publishes them for your product and stream.


OpenCVE Recommended Actions

  • Apply the latest oc client updates or rebuilt platform images that Red Hat publishes for your product stream.
  • Run oc image extract as an unprivileged user and into a dedicated, isolated destination directory, avoiding fixed or predictable paths in automated jobs.
  • Treat container images as trusted inputs only; do not extract images from registries or publishers you do not control or have not verified.

Generated by OpenCVE AI on October 23, 2026 at 03:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 03 Nov 2026 10:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 02 Nov 2026 21:15:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:5

Sat, 24 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat openshift Container Platform
Vendors & Products Redhat openshift Container Platform

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
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.
Title Oc: oc: symlink/hardlink target validation bypass in oc image extract allows file write outside destination
First Time appeared Redhat
Redhat openshift
Weaknesses CWE-61
CPEs cpe:/a:redhat:openshift:4
Vendors & Products Redhat
Redhat openshift
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}

threat_severity

Moderate


Subscriptions

Redhat Openshift Openshift Container Platform
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-11-02T21:01:29.263Z

Reserved: 2026-10-22T13:34:46.110Z

Link: CVE-2026-115424

cve-icon Vulnrichment

Updated: 2026-11-02T20:42:18.300Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-22T22:18:06.483

Modified: 2026-11-02T21:17:24.240

Link: CVE-2026-115424

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-21T15:35:00Z

Links: CVE-2026-115424 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T18:45:13Z

Weaknesses
  • CWE-61

    UNIX Symbolic Link (Symlink) Following