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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 04 Dec 2026 22:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Openshift-clients: openshift-clients: oc rsync pod-to-local copy can write outside the intended local destination directory | |
| First Time appeared |
Redhat
Redhat openshift |
|
| Weaknesses | CWE-22 | |
| CPEs | cpe:/a:redhat:openshift:4 cpe:/a:redhat:openshift:5 |
|
| Vendors & Products |
Redhat
Redhat openshift |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: redhat
Published:
Updated: 2026-12-04T22:19:47.259Z
Reserved: 2026-11-19T23:48:14.302Z
Link: CVE-2026-133516
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses