Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 6.3CVE-2026-133516

Openshift-clients: openshift-clients: oc rsync pod-to-local copy can write outside the intended local destination directory

Published 04/12/2026 · Updated 04/12/2026 · Red Hat OpenShift Container Platform 4

Description

A flaw was found in the OpenShift oc client. When using oc rsync to copy files from a pod to a local directory, the tar-based fallback extraction path does not properly ensure that archive entries remain confined to the requested destination directory. A crafted pod-side filesystem or tar stream can include path traversal, symlink, or hardlink entries that cause oc rsync to write files outside the destination directory on the machine running the oc client. This can allow an attacker who controls the pod-side content to modify files on the client system if a user or automation runs oc rsync from that pod.

Affected products and versions

Red Hat Red Hat OpenShift Container Platform 4
Red Hat Red Hat OpenShift Container Platform 5

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
Regular user
User interaction
Required
Scope
Vulnerable component only
Confidentiality
None
Integrity
High impact
Availability
Low impact

Weakness type (CWE)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.