Advisory

PYSEC-2026-1796

Also known as: CVE-2026-1703, GHSA-6vgw-5pg2-w6jp

Summary

pip Path Traversal vulnerability

Details

When pip is installing and extracting a maliciously crafted wheel archive, files may be extracted outside the installation directory. The path traversal is limited to prefixes of the installation directory, thus isn't able to inject or overwrite executable files in typical situations.

Severity

Not rated by the source.

Dates

Published
2026-07-07 16:36 UTC
Modified
2026-07-07 17:48 UTC

Affected packages and fixes

pip

PyPI · All systems

Affected

  • introduced 0, fixed 26.0 (ecosystem)

Fixed versions

26.0

Fix

  • Fixed version 26.0
    pip install --upgrade pip==26.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences