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

Source: https://junglewise.ai/threats/cve-2026-101295-path-traversal-arbitrary-file-write-in-oc-mirror-s-operator  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-30. Updated: 2026-09-30  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/oc-mirror). Vendors: [Red Hat](https://junglewise.ai/threats/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

- [https://access.redhat.com/downloads/content/package-browser/](https://access.redhat.com/downloads/content/package-browser/)
- [https://access.redhat.com/security/cve/CVE-2026-101295](https://access.redhat.com/security/cve/CVE-2026-101295)

## Related threats

- [oc-mirror unauthenticated registry access on all interfaces](https://junglewise.ai/threats/cve-2026-96577-a-flaw-was-found-in-oc-mirror-during-mirroring-operations-the)
- [Red Hat oc-mirror PGP signature verification bypass](https://junglewise.ai/threats/cve-2026-75939-a-flaw-was-found-in-openshift-oc-mirror-the-tool-incorrectly)
