Critical Security Flaw in python3.12-wheel: Privilege Escalation and Code Execution Risk
Summary
ALSA-2026:1939: Important: python3.12-wheel security update. Affects python3.12-wheel versions < 0.41.2-3.el9_7.1. Fixed in 0.41.2-3.el9_7.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Python is a widely-used interpreted, interactive, object-oriented programming language known for its simplicity and versatility. It includes modules, classes, exceptions, and supports dynamic data types and typing. The python3.12-wheel package is essential for managing Python package installations, allowing users to easily install and distribute Python packages. However, this package has been found vulnerable to a security issue that could allow attackers to exploit it through malicious wheel files.
Vulnerability Detail
The vulnerability identified as CVE-2026-24049 in the python3.12-wheel package allows for privilege escalation or arbitrary code execution via the unpacking of malicious wheel files. This issue arises from inadequate validation during the unpacking process, which can lead to unauthorized access and execution of harmful code on the system. If exploited, this vulnerability poses significant risks to system integrity and data security.
How To Fix
Minimum fixed version
0.41.2-3.el9_7.1
This is the first release that contains the fix.
sudo dnf update python3.12-wheel
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary measure, users can avoid using untrusted wheel files and ensure that all packages are sourced from reputable repositories. Additionally, consider implementing strict file permissions to limit access to sensitive directories where wheel files are unpacked.
Conclusion
The python3.12-wheel package has a critical vulnerability that could lead to privilege escalation and arbitrary code execution. Users are strongly advised to update to the latest patched version to mitigate risks. Implementing workarounds can provide temporary relief, but updating is the best long-term solution.
See every vulnerability recorded for python3.12-wheel →
FAQ
The vulnerability allows for privilege escalation or arbitrary code execution through malicious wheel file unpacking.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your manifest file for vulnerabilities.
As a workaround, avoid using untrusted wheel files and implement strict file permissions to limit access.
Yes, if exploited, this vulnerability can lead to unauthorized access and potential data loss or corruption.
For more details, refer to the CVE page for CVE-2026-24049, which provides comprehensive information about the issue.
Related vulnerabilities
Recent vulnerabilities recorded for python3.12-wheel.