7.3High
CVE-2026-101295Oc-mirror: oc-mirror: path traversal / arbitrary file write in operator catalog image extraction
Description
Path traversal / arbitrary file write in oc-mirror's operator catalog image extraction. When mirroring operator catalogs using either the legacy v1 path (--v1) or the OCI feature path (--use-oci-feature), oc-mirror extracts tar entries from catalog image layers without validating that file paths resolve within the intended destination directory.
Weakness (CWE):
CWE-22
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| openshift | 4.13 | — | |
| openshift | 4.15 | — | |
| openshift | 4.17 | — | |
| Red Hat | Assisted Installer for Red Hat OpenShift Container Platform 2 | — | |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | all versions | |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | all versions | |
| Red Hat | Red Hat OpenShift Container Platform 4.17 | all versions | |
| Red Hat | Red Hat OpenShift Container Platform 5 | — |
References and patches
- RHSA-2026:95746 vendor-advisory
- RHSA-2026:95756 vendor-advisory
- RHSA-2026:96283 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-101295 vdb-entry
- RHBZ#2522941 issue-tracking
- https://github.com/openshift/oc-mirror/blob/22a5722/v1/pkg/cli/mirror/catalog_images.go#L680
- https://github.com/openshift/oc-mirror/blob/22a5722/v1/pkg/cli/mirror/fbc_operators.go#L334-L369