Directory Traversal Affecting python2-pip package, versions <0:20.2.2-1.amzn2.0.16


Severity

Recommended
0.0
low
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.03% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-PYTHON2PIP-16340703
  • published2 May 2026
  • disclosed2 Feb 2026

Introduced: 2 Feb 2026

CVE-2026-1703  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python2-pip to version 0:20.2.2-1.amzn2.0.16 or higher.
This issue was patched in ALAS2-2026-3256.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python2-pip package and not the python2-pip package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1