7.1High

CVE-2026-24049wheel Allows Arbitrary File Permission Modification via Path Traversal

pypa wheel; Red Hat Discovery 2 for RHEL 10; Red Hat Discovery 2 for RHEL 8; Red Hat Discovery 2 for RHEL 9 Published: (9 months ago)

Description

wheel is a command line tool for manipulating Python wheel files, as defined in PEP 427. In versions 0.40.0 through 0.46.1, the unpack function is vulnerable to file permission modification through mishandling of file permissions after extraction. The logic blindly trusts the filename from the archive header for the chmod operation, even though the extraction process itself might have sanitized the path. Attackers can craft a malicious wheel file that, when unpacked, changes the permissions of critical system files (e.g., /etc/passwd, SSH keys, config files), allowing for Privilege Escalation or arbitrary code execution by modifying now-writable scripts. This issue has been fixed in version 0.46.2.

Weakness (CWE): CWE-22CWE-732

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ai inference server 3.2 —
ansible automation platform 2.5 —
ansible automation platform 2.6 —
ceph storage 8.1 —
discovery 2 —
network observ optr 1.11 —
openshift 4.16 —
openshift 4.17 —
openshift 4.18 —
openshift 4.19 —
openshift 4.20 —
openshift 4.21 —
openshift ai 2.25 —
openshift ai 3.3 —
openshift ai 3.4 —
openshift devspaces 3.27 —
pypa wheel >= 0.40.0, < 0.46.2
quay 3.10 —
quay 3.12 —
quay 3.13 —
quay 3.14 —
quay 3.15 —
quay 3.16 —
quay 3.9 —
Red Hat Discovery 2 for RHEL 10 all versions
Red Hat Discovery 2 for RHEL 8 all versions
Red Hat Discovery 2 for RHEL 9 all versions
Red Hat Fence Agents Remediation Operator —
Red Hat Logging Subsystem for Red Hat OpenShift all versions
Red Hat Migration Toolkit for Virtualization all versions
Red Hat Multicluster Engine for Kubernetes —
Red Hat Network Observability (NETOBSERV) 1.11.0 all versions
Red Hat OpenShift Lightspeed all versions
Red Hat OpenShift Service Mesh 2 —
Red Hat OpenShift Service Mesh 3 —
Red Hat Red Hat Advanced Cluster Security 4 all versions
Red Hat Red Hat AI Inference Server 3.2 all versions
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9 all versions
Red Hat Red Hat Ceph Storage 8.1 all versions
Red Hat Red Hat Developer Hub 1.8 all versions
Red Hat Red Hat Discovery 2 all versions
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support all versions
Red Hat Red Hat OpenShift AI 2.25 all versions
Red Hat Red Hat OpenShift AI 3.3 all versions
Red Hat Red Hat OpenShift AI 3.4 all versions
Red Hat Red Hat OpenShift Container Platform 4.16 all versions
Red Hat Red Hat OpenShift Container Platform 4.17 all versions
Red Hat Red Hat OpenShift Container Platform 4.18 all versions
Red Hat Red Hat OpenShift Container Platform 4.19 all versions
Red Hat Red Hat OpenShift Container Platform 4.20 all versions
Red Hat Red Hat OpenShift Container Platform 4.21 all versions
Red Hat Red Hat OpenShift Dev Spaces 3.27 all versions
Red Hat Red Hat OpenStack 1.5 all versions
Red Hat Red Hat Quay 3.10 all versions
Red Hat Red Hat Quay 3.12 all versions
Red Hat Red Hat Quay 3.13 all versions
Red Hat Red Hat Quay 3.14 all versions
Red Hat Red Hat Quay 3.15 all versions
Red Hat Red Hat Quay 3.16 all versions
Red Hat Red Hat Quay 3.9 all versions
Red Hat Red Hat Satellite 6.18 all versions
Red Hat Red Hat Trusted Artifact Signer 1.2 all versions
Red Hat Red Hat Trusted Artifact Signer 1.3 all versions
rhdh 1.8 —
satellite 6.18 —
stf 1.5 —
trusted artifact signer 1.2 —
trusted artifact signer 1.3 —
wheel project wheel 0.40.0 – < 0.46.2

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:wheel_project:wheel:*:*:*:*:*:python:*:* ≥ 0.40.0 < 0.46.2