Critical Security Flaws in Python 3.14: Command Injection and XSS Vulnerabilities

python3.14 Updated 24 Jun 2026

Summary

23/06/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:28581: Important: python3.14 security, bug fix, and enhancement update. Affects python3.14 versions < 3.14.5-1.el10_2. Fixed in 3.14.5-1.el10_2. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Python 3.14 is an interpreted, interactive, object-oriented programming language widely used for various applications, including web development, data analysis, artificial intelligence, and more. It supports dynamic data types and offers extensive libraries and frameworks. However, recent vulnerabilities have been identified that could compromise the security of applications utilizing this version.

Vulnerability Detail

The vulnerabilities in Python 3.14 include arbitrary code execution via command injection in the webbrowser.open() API (CVE-2026-4786) and a Cross-Site Scripting (XSS) vulnerability in the http.cookies module (CVE-2026-6019). These vulnerabilities could allow attackers to execute arbitrary code on the server or client-side, leading to unauthorized access or data breaches.

How To Fix

Minimum fixed version

3.14.5-1.el10_2

This is the first release that contains the fix.

sudo dnf update python3.14

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 affected APIs until the update can be applied. For web applications, implement input validation and sanitization to mitigate the risk of XSS attacks.

Conclusion

In summary, Python 3.14 has critical vulnerabilities that need immediate attention. Updating to the latest version is essential to safeguard applications from potential attacks. Utilize tools like Vulert to monitor and manage vulnerabilities effectively.

See every vulnerability recorded for python3.14 →

Share this vulnerability

FAQ

The main vulnerabilities are command injection in the webbrowser.open() API and an XSS vulnerability in the http.cookies module.

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

These vulnerabilities can lead to arbitrary code execution and potential data breaches, compromising the security of applications.

Yes, a patch is available in version 3.14.5-1.el10_2 of Python 3.14.

If you cannot update immediately, avoid using the affected APIs and implement input validation to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for python3.14.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

3.14.5-1.el10_2

This is the first release that contains the fix.

sudo dnf update python3.14

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