CVE-2026-101295
published high CVSS 3.1 · 7.3Oc-mirror: oc-mirror: path traversal / arbitrary file write in operator catalog image extraction
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift4/oc-mirror-plugin-rhel8Red Hat OpenShift Container Platform 4.13 · 1793823172 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift4/oc-mirror-plugin-rhel9Red Hat OpenShift Container Platform 4.15 · 1793875992 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift4/oc-mirror-plugin-rhel9Red Hat OpenShift Container Platform 4.17 · 1793907408 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | assisted/agent-preinstall-image-builder-rhel9Assisted Installer for Red Hat OpenShift Container Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | openshift5/oc-mirror-plugin-rhel9Red Hat OpenShift Container Platform 5 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 1793823172 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | 1793875992 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4.17 | 1793907408 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Assisted Installer for Red Hat OpenShift Container Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
7- RHSA-2026:95746 https://access.redhat.com/errata/RHSA-2026:95746
- RHSA-2026:95756 https://access.redhat.com/errata/RHSA-2026:95756
- RHSA-2026:96283 https://access.redhat.com/errata/RHSA-2026:96283
- https://access.redhat.com/security/cve/CVE-2026-101295
- RHBZ#2522941 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
Provider assertions
2redhat · cna
Oc-mirror: oc-mirror: path traversal / arbitrary file write in operator catalog image extraction
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cfdbf1049bbbc3fa7ae88588c0217f7ca347f791a4ec6574860e39fb6dd2e322
- Ingested
- 30 Nov 2026, 04:19:33 UTC
- Source record
- Official CVE record