ADVISORIES

Vulnerability

CVE-2026-115791

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.

19 advisories report this vulnerability, across 8 ecosystems.

Advisories in Azure Linux

  • AZL-113326

    CVE-2026-115791 affecting package python-py 1.11.0-1

    CVE-2026-115791 Azure Linux Updated 16 November 2026
  • AZL-113332

    CVE-2026-115791 affecting package python3 3.12.16-2

    CVE-2026-115791 Azure Linux Updated 25 November 2026
  • AZL-113639

    CVE-2026-115791 affecting package tensorflow 2.16.1-11

    CVE-2026-115791 Azure Linux Updated 16 November 2026

References