Bug 2591241 (CVE-2026-133516) - CVE-2026-133516 openshift-clients: openshift-clients: oc rsync pod-to-local copy can write outside the intended local destination directory
Summary: CVE-2026-133516 openshift-clients: openshift-clients: oc rsync pod-to-local c...
Keywords:
Status: NEW
Alias: CVE-2026-133516
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-04 21:20 UTC by OSIDB Bzimport
Modified: 2026-12-04 21:25 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-04 21:20:57 UTC
Reporter: PSIRTSUPT-29706

The reporter identified a path-containment issue in the OpenShift oc client's pod-to-local rsync flow. When oc rsync falls back to the tar-based copy path, crafted pod-side tar output can include entries that escape the requested local destination directory. The reporter provided shell logs showing oc rsync srcpod:/tmp/src/ /tmp/dest/ creating /tmp/should-not-be-touched/evil-from-pod.txt outside /tmp/dest/ with exit code 0 and no unsafe-path rejection.

Security assessment: this is a client-side arbitrary file write/path traversal issue. The attacker must control pod-side filesystem content or tar behavior, and the victim user or automation must run oc rsync from that pod. The demonstrated impact is local file modification on the machine running oc, not OpenShift cluster privilege escalation or container escape.

Suggested CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L = 6.3 Moderate.
Suggested CWE: CWE-22.


Note You need to log in before you can comment on or make changes to this bug.