Critical Security Update for Python 3.12: Addressing Arbitrary Code Execution Vulnerabilities

python-unversioned-command Updated 30 Apr 2026

Summary

27/04/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:10711: Important: python3.12 security update. Affects python-unversioned-command versions < 3.12.12-3.el10_1.3. Fixed in 3.12.12-3.el10_1.3. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Python is a widely-used interpreted, interactive, object-oriented programming language known for its simplicity and versatility. It supports various programming paradigms and is equipped with extensive libraries and frameworks, making it a popular choice for developers. However, recent vulnerabilities have been identified in Python 3.12, specifically affecting its decompression modules and the webbrowser.open() API, which could lead to severe security risks.

Vulnerability Detail

The vulnerabilities identified in Python 3.12 include a use-after-free issue in decompression modules (CVE-2026-6100) that could allow arbitrary code execution or information disclosure. Additionally, a command injection vulnerability in the webbrowser.open() API (CVE-2026-4786) poses a risk of arbitrary code execution. These vulnerabilities stem from improper handling of memory and user input, potentially allowing attackers to exploit these weaknesses to execute malicious code or access sensitive information.

How To Fix

Minimum fixed version

3.12.12-3.el10_1.3

This is the first release that contains the fix.

sudo dnf update python-unversioned-command

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users are advised to avoid using the affected functionalities, such as the decompression modules and the webbrowser.open() API, until the packages are updated. Additionally, implementing strict input validation can help mitigate the risks associated with command injection.

Conclusion

The vulnerabilities in Python 3.12 present significant security risks that can lead to arbitrary code execution and information disclosure. It is crucial for users to update their packages to the patched version to mitigate these risks. Additionally, utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for python-unversioned-command →

Share this vulnerability

FAQ

The vulnerabilities involve arbitrary code execution and information disclosure due to improper memory handling and command injection.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

If immediate updates are not possible, avoid using the affected functionalities and implement strict input validation as a temporary measure.

Failure to address these vulnerabilities could lead to arbitrary code execution, allowing attackers to gain unauthorized access to your system or sensitive data.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for python-unversioned-command.

How To Fix

Minimum fixed version

3.12.12-3.el10_1.3

This is the first release that contains the fix.

sudo dnf update python-unversioned-command

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback