Security Update for Python 3.9: Tarfile Extraction Filter Bypass Vulnerability

python-unversioned-command Updated 13 Aug 2026

Summary

12/08/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:54268: Important: python3.9 security update. Affects python-unversioned-command versions < 3.9.25-7.el9_8.3. Fixed in 3.9.25-7.el9_8.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 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 is a widely-used interpreted programming language known for its versatility and ease of use. It supports various programming paradigms and provides extensive libraries and frameworks. The affected package, Python 3.9, is part of the AlmaLinux ecosystem and is utilized for developing applications, scripting, and automation. This version has been identified to have a security vulnerability that could potentially allow unauthorized access to file system paths during tarfile extraction.

Vulnerability Detail

The vulnerability, identified as CVE-2026-11940, is a tarfile extraction filter bypass issue in CPython. It allows attackers to escape the intended destination directory when extracting tar files, which could lead to unauthorized file access or overwriting of critical files. This vulnerability arises from improper validation of file paths during the extraction process, making it crucial for users to apply the necessary updates to mitigate risks.

How To Fix

Minimum fixed version

3.9.25-7.el9_8.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 can avoid extracting untrusted tar files or ensure that they are extracted in a controlled environment where file access can be monitored. However, this is not a permanent solution and updating the package is strongly recommended.

Conclusion

The vulnerability in Python 3.9, identified as CVE-2026-11940, poses a significant risk due to its potential for unauthorized file access. Users are strongly advised to update their Python packages to the patched version to mitigate this risk. Regular monitoring and prompt updates are essential for maintaining security in software applications.

See every vulnerability recorded for python-unversioned-command →

Share this vulnerability

FAQ

CVE-2026-11940 is a security vulnerability in Python 3.9 that allows a tarfile extraction filter bypass, potentially leading to unauthorized file access.

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

If immediate updates are not possible, avoid extracting untrusted tar files and monitor your environment for any suspicious activity.

Failing to address this vulnerability could lead to unauthorized access to sensitive files, data breaches, or system compromise.

More information can be found on the CVE page associated with CVE-2026-11940, which provides detailed insights into the vulnerability and its impact.

Related vulnerabilities

Recent vulnerabilities recorded for python-unversioned-command.

How To Fix

Minimum fixed version

3.9.25-7.el9_8.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