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

Published Dec 4, 2026
·
Updated

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 Software

1 affected component
Red Hat OpenShift CLI (oc)

Event History

Dec 4, 2026
CVE Published
via MITRE·10:19 PM
Data Sourced
via MITRE·10:19 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which systems are exposed to this issue?

The exposed system is the machine running the OpenShift oc client, not necessarily the OpenShift cluster itself. Risk exists when oc rsync is used to copy from a pod to a local destination and the pod-side content is controlled by an attacker.

2

What does an attacker need to exploit this vulnerability?

The attacker needs control over files in the source pod filesystem or the tar stream used by oc rsync, and must cause a user or automation to run a pod-to-local oc rsync operation. User interaction is required because the client-side copy must be initiated.

3

What is the potential impact on the client machine?

Crafted traversal paths, symlinks, or hardlinks can cause files to be written outside the requested local destination directory. This may allow modification of files on the system running oc, affecting integrity and potentially availability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203