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

  • 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 24 November 2026
  • AZL-113639

    CVE-2026-115791 affecting package tensorflow 2.16.1-11

    CVE-2026-115791 Azure Linux Updated 16 November 2026
  • CGA-566g-mgqj-88qj
    CVE-2026-115791 ChainguardWolfi Updated 24 November 2026
  • CGA-5j76-g6pq-2fgm
    CVE-2026-115791 ChainguardWolfi Updated 21 November 2026
  • CGA-67jv-vvcr-54qc
    CVE-2026-115791 ChainguardWolfi Updated 24 November 2026
  • CGA-8jxh-6fjf-v7j6
    CVE-2026-115791 ChainguardWolfi Updated 18 November 2026
  • CGA-cmff-4q6c-5gmp
    CVE-2026-115791 ChainguardWolfi Updated 24 November 2026
  • CGA-fhr7-xmmw-g2gw
    CVE-2026-115791 ChainguardWolfi Updated 20 November 2026
  • CGA-h3rx-v27j-c92q
    CVE-2026-115791 ChainguardWolfi Updated 24 November 2026
  • CGA-j9c4-pjxq-cfhm
    CVE-2026-115791 ChainguardWolfi Updated 18 November 2026
  • CGA-jw39-86wq-wxmc
    CVE-2026-115791 ChainguardWolfi Updated 24 November 2026
  • CGA-rpr5-c47j-c8x6
    CVE-2026-115791 ChainguardWolfi Updated 24 November 2026
  • CGA-w3qh-5cfh-pf6q
    CVE-2026-115791 ChainguardWolfi Updated 24 November 2026
  • CGA-x76g-6g9h-2grm
    CVE-2026-115791 ChainguardWolfi Updated 24 November 2026
  • CNA-CVE-2026-115791

    Prevent shadowing stdlib in gzip/tarfile/zipfile CLI during extraction

    CVE-2026-115791 Python Updated 11 November 2026
  • DEBIAN-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…

    CVE-2026-115791 Debian Updated 14 November 2026
  • SUSEVEX-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…

    Moderate CVE-2026-115791 SUSEopenSUSE Updated 17 November 2026
  • UBUNTU-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…

    CVE-2026-115791 Ubuntu Updated 24 November 2026

References