CVE-2026-101295: OpenShift oc-mirror path traversal in operator catalog extraction

CVE-2026-101295 · Severity: high · CVSS 7.3 · Published 2026-09-30

oc-mirror is a Red Hat tool used by administrators to mirror container images from online registries to air-gapped environments. When mirroring operator catalogs, it fails to validate file paths in tar archives, allowing a malicious catalog image to write arbitrary files to the administrator's workstation. This could lead to code execution or compromise of the administrator's system.

Technologies: Red Hat Oc-Mirror. Vendors: Red Hat.

Quick answers

Is CVE-2026-101295 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-101295 being exploited in the wild.
How severe is CVE-2026-101295?
High severity, with a CVSS score of 7.3, published 30 September 2026.
Which products and versions are affected?
Red Hat oc-mirror.
Is there a fix for CVE-2026-101295?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-101295 attacked?
It is attacked with local access, in a web application.
Am I affected by CVE-2026-101295?
Check whether you run Red Hat Oc-Mirror. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A path traversal vulnerability (CWE-22) exists in oc-mirror's operator catalog image extraction when using --v1 or --use-oci-feature flags. The tool extracts tar entries from catalog image layers without validating that extracted paths remain within the intended destination directory, allowing entries with traversal sequences (e.g., ../../../) to write files elsewhere. An attacker controlling a malicious operator catalog image can exploit this with local user interaction to write arbitrary files with the privileges of the oc-mirror process.

Affected products

  • Red Hat oc-mirror

Timeline

  • 2026-09-30: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.