AZL-113326

See a problem?
Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-113326.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-113326
Upstream
Published
2026-11-10T17:17:22Z
Modified
2026-11-11T14:17:33Z
Summary
CVE-2026-115791 affecting package python-py 1.11.0-1
Details

When tarfile or zipfile command line interface (CLI) is used to

decompress an archive, a Python script shadowing the stdlib can be

created. Then if an error occurs during decompressing the next file,

the newly created Python script is executed. This is especially true

if the created Python is called traceback.py. The problem is that

Python adds the current directory to sys.path when python -m MODULE is

run, and the archive is also decompressed in the current directory.

The fix removes sys.path[0] in gzip, tarfile and zipfile command line

interface to prevent shadowing standard library modules from extracted

files.

References

Affected packages

Azure Linux:3 / python-py

Package

Name
python-py
Purl
pkg:rpm/azure-linux/python-py

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.11.0-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-113326.json"