# CVE-2026-101295: Oc-mirror: oc-mirror: path traversal / arbitrary file write in operator catalog image extraction

- Severity: High 7.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-02)
- Published: 2026-09-30T14:06:16.437Z
- Modified: 2026-11-30T05:17:51.363Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- openshift4/oc-mirror-plugin-rhel8: no versions given (not affected: from 1793823172 before *)
- openshift4/oc-mirror-plugin-rhel9: no versions given (not affected: from 1793875992 before *; from 1793907408 before *)
- assisted/agent-preinstall-image-builder-rhel9: no versions given
- openshift5/oc-mirror-plugin-rhel9: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:95746> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:95756> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:96283> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-101295> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=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>

## Sources

- CVE List: [CVE-2026-101295](https://www.cve.org/CVERecord?id=CVE-2026-101295), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-101295](https://nvd.nist.gov/vuln/detail/CVE-2026-101295), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-101295 · Whole record: https://cve.day/CVE-2026-101295.json · Rebuilt by cve.day 2026-11-30T05:32:18.195Z
