CVE-2026-133516
Openshift-clients: openshift-clients: oc rsync pod-to-local copy can write outside the intended local destination directory
- Severity
- medium CVSS 6.3 (v3.1)
- Affects
- Red Hat OpenShift Container Platform 4 · Red Hat
- Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
- Published
- 4 December 2026 by redhat
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.