Critical Command-Line Option Injection Vulnerability in Python 3.11

python3.11 Updated 03 Apr 2026

Summary

31/03/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:6281: Important: python3.11 security update. Affects python3.11 versions < 3.11.13-6.el8_10. Fixed in 3.11.13-6.el8_10. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Python 3.11 is an interpreted, interactive, object-oriented programming language that supports dynamic typing and high-level data types. It provides interfaces to various system calls and libraries, making it a versatile choice for developers. However, a recent security issue has been identified that affects its webbrowser module, potentially allowing attackers to exploit command-line options through crafted URLs.

Vulnerability Detail

The vulnerability arises from a command-line option injection in the webbrowser.open() function. This flaw allows an attacker to craft malicious URLs that, when executed, can lead to unintended command execution or exposure of sensitive information. The issue is tracked under CVE-2026-4519 and poses significant risks to applications relying on this functionality, as it can compromise the integrity and security of the system.

How To Fix

Minimum fixed version

3.11.13-6.el8_10

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 measure, avoid using the webbrowser.open() function with untrusted URLs. Validate and sanitize all input URLs before passing them to this function to mitigate potential risks until the package is updated.

Conclusion

In summary, the command-line option injection vulnerability in Python 3.11 poses significant security risks. Users are advised to update to the latest patched version to mitigate these risks. For those unable to update immediately, implementing input validation can serve as a temporary workaround.

See every vulnerability recorded for python3.11 →

Share this vulnerability

FAQ

CVE-2026-4519 is a security vulnerability in Python 3.11 that allows command-line option injection through the webbrowser.open() function.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The risks include potential command execution and exposure of sensitive information, which can compromise system integrity.

Yes, the patched version is 3.11.13-6.el8_10. Updating to this version will resolve the vulnerability.

If immediate updating is not possible, avoid using the vulnerable function with untrusted URLs and validate all inputs.

Related vulnerabilities

Recent vulnerabilities recorded for python3.11.

How To Fix

Minimum fixed version

3.11.13-6.el8_10

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