๐Ÿ” CVE Alert

CVE-2026-115791

UNKNOWN 0.0

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

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor python software foundation
Product cpython
Published Nov 10, 2026
Last Updated Nov 11, 2026
Stay Ahead of the Next One

Get instant alerts for python software foundation cpython

Be the first to know when new unknown vulnerabilities affecting python software foundation cpython are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Python Software Foundation / CPython
0 < 3.16.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/python/cpython/issues/161705 github.com: https://github.com/python/cpython/pull/161706 mail.python.org: https://mail.python.org/archives/list/[email protected]/thread/ZKKA4Q7B35JEHSDIJNZ6TYKRDQJUHDAG/ openwall.com: http://www.openwall.com/lists/oss-security/2026/11/10/30

Credits

๐Ÿ” Jelle Zijlstra (https://github.com/jelle-openai) Victor Stinner (https://github.com/vstinner) Ethan Furman (https://github.com/ethanfurman) Kirill Podoprigora (https://github.com/Eclips4) Seth Larson (https://github.com/sethmlarson)