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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Red Hat Assisted Installer for Red Hat OpenShift Container Platform 2
Default version status: unknown
Red Hat Red Hat OpenShift Container Platform 4
Default version status: unknown
Red Hat Red Hat OpenShift Container Platform 4
Default version status: unknown
Red Hat Red Hat OpenShift Container Platform 5
Default version status: unknown
References
- https://access.redhat.com/security/cve/CVE-2026-101295 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=2522941 ↗
- 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 ↗