Python disclosed CVE-2026-5271, a medium-severity flaw in the Python install manager that affects script alias entrypoints generated by version 26.0. The bug could leave the search path empty, allowing a Python module in the current working directory to override the intended module and execute code as the user. Python said the issue is fixed in version 26.1, noted that versions prior to 26.0 are not affected, and advised users to update and regenerate vulnerable aliases with:
py install --refresh
A separate medium-severity issue, CVE-2026-3219, was disclosed in pip for its handling of concatenated TAR and ZIP archives. pip treated concatenated TAR/ZIP files as ZIP archives regardless of filename or whether the file could be interpreted as both formats, creating confusing installation results and potentially installing files that did not match the expected archive type. The fix changes pip so installation proceeds only when an archive is uniquely identified as either ZIP or TAR, reducing the risk of ambiguous package handling in Python software distribution workflows.

See real exploitation activity before you spend the cycle.
4 events from the most recent confirmed update back to the earliest known activity.
The announced fix for CVE-2026-3219 changes pip so installation proceeds only when a file is uniquely identified as either a ZIP archive or a tar archive, but not both. This addressed confusing installation outcomes caused by ambiguous archive parsing.
Python disclosed CVE-2026-3219, a medium-severity vulnerability in pip's handling of concatenated tar and ZIP archives. Pip could treat concatenated tar and ZIP files as ZIP files regardless of filename, potentially causing installation of files that did not match the expected archive type.
Python stated that install manager version 26.1 fixes CVE-2026-5271, while versions prior to 26.0 are not affected. Users were advised to update and run "py install --refresh" to regenerate aliases created by the vulnerable release.
Python disclosed CVE-2026-5271, a medium-severity vulnerability in version 26.0 of the Python install manager. The flaw could leave the search path empty for generated script alias entrypoints, allowing a module in the current working directory to override the intended module and execute code as the user.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
2 references tracked. Mallory keeps watching after this page renders.
seclists.org
Open sourceseclists.org
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.