Intel

AIKIDO-2026-11131

distlib is vulnerable to Path Traversal

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 10, 2026
June 10, 2026

59

CVE Score

Medium

Path Traversal

Are you affected? Scan for Free

TL;DR

Affected versions of this library do not consistently confine wheel installation, extension mounting, package resource lookups, and tar symlink targets to their intended directories when processing crafted archive or path input. A hostile simple-index response can also inflate without bound during decompression and exhaust memory. Before the fix, these gaps allowed files to be written or read outside intended install, cache, or package bases and could enable denial-of-service during index scraping. The patch adds path containment checks across wheel, resource, and unarchive flows and caps decompressed index size.

How do I fix this?

Upgrade the distlib library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.1.0 - 0.4.1

Fixed in 0.4.2

Background info

distlib is vulnerable to Path Traversal in versions 0.1.0 - 0.4.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea