CVE-2026-24049
Beschrijving NL
wheel is een opdrachtregelprogramma voor het manipuleren van Python-wielbestanden, zoals gedefinieerd in PEP 427. In versies 0.40.0 tot en met 0.46.1 is de uitpakfunctie kwetsbaar voor wijziging van bestandsmachtigingen door verkeerd gebruik van bestandsmachtigingen na extractie. De logica vertrouwt blindelings de bestandsnaam uit de archiefkop voor de chmod-bewerking, hoewel het extractieproces zelf het pad mogelijk heeft ontsmet. Aanvallers kunnen een kwaadaardig wielbestand maken dat, wanneer het wordt uitgepakt, de machtigingen van kritieke systeembestanden (bijv./etc/passwd, SSH-sleutels, configuratiebestanden) wijzigt, waardoor Privilege-escalatie of willekeurige code-uitvoering mogelijk is door nu beschrijfbare scripts te wijzigen. Dit probleem is opgelost in versie 0.46.2.
Origineel (Engels) tonen
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.
Vendors
Affected products
References
- github.com
- github.com
- github.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com