Critical Security Flaw in Python 3.11: Arbitrary Code Execution and Information Disclosure

python3.11 Updated 30 Apr 2026

Summary

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

ALSA-2026:10774: Important: python3.11 security update. Affects python3.11 versions < 3.11.13-5.3.el9_7. Fixed in 3.11.13-5.3.el9_7. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Python 3.11 is an interpreted, interactive, object-oriented programming language widely used for various applications, including web development, data analysis, artificial intelligence, and more. It features dynamic typing, high-level data types, and extensive libraries, making it a versatile choice for developers. However, recent vulnerabilities have raised concerns about its security, particularly in decompression modules and the webbrowser API.

Vulnerability Detail

The vulnerability arises from a use-after-free issue in decompression modules, which could lead to arbitrary code execution or information disclosure (CVE-2026-6100). Additionally, there is a command injection vulnerability in the webbrowser.open() API (CVE-2026-4786), allowing attackers to execute arbitrary commands. These vulnerabilities can severely compromise the integrity and confidentiality of applications using Python 3.11.

How To Fix

Minimum fixed version

3.11.13-5.3.el9_7

This is the first release that contains the fix.

sudo dnf update python3.11

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

Workaround

As a temporary workaround, avoid using the affected functionalities in the decompression modules and the webbrowser API until the package is updated. This may involve modifying your code to prevent reliance on these features.

Conclusion

The vulnerabilities identified in Python 3.11 present serious security risks, including arbitrary code execution and information disclosure. It is crucial for developers and organizations to update to the latest patched version to protect their applications. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.

See every vulnerability recorded for python3.11 →

Share this vulnerability

FAQ

The vulnerabilities include a use-after-free issue leading to arbitrary code execution or information disclosure and a command injection vulnerability in the webbrowser.open() API.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application against the vulnerabilities using the Vulert playground at Vulert Scanner.

The vulnerabilities can lead to unauthorized code execution, data breaches, and compromise of application integrity, posing significant risks to users and systems.

Yes, a patch is available in the form of an updated version of Python 3.11 (3.11.13-5.3.el9_7). It is recommended to update to this version to mitigate the risks.

If immediate updates are not possible, consider implementing workarounds by avoiding the use of the affected functionalities until a secure version can be deployed.

Related vulnerabilities

Recent vulnerabilities recorded for python3.11.

How To Fix

Minimum fixed version

3.11.13-5.3.el9_7

This is the first release that contains the fix.

sudo dnf update python3.11

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