CVE-2005-1632 Cheetah Path Search Order Hijacking

High 7.2 Published Updated

Local attackers can execute arbitrary code by placing malicious modules in /tmp, which Cheetah loads before checking PYTHONPATH.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2005-1632?

CVE-2005-1632 is a high-severity path traversal vulnerability in n/a, published on 17 May 2005. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Cheetah 0.9.15 and 0.9.16 searches the /tmp directory for modules before using the paths in the PYTHONPATH variable, which allows local users to execute arbitrary code via a malicious module in /tmp/.

Which versions are affected by CVE-2005-1632?

3 open source packages ship an affected version, including cheetah. It affects 1 product.

PackageAffectedFixed in
cheetah PyPIFrom 0.9.15 to 0.9.16None
cheetah PyPIFrom 0.9.15 to 0.9.16None
cheetah PyPIFrom 0.9.15 to 0.9.16None

Products include Tavis Rudd Cheetah.

How do I fix CVE-2005-1632?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2005-1632 being exploited?

There is no known exploitation of CVE-2005-1632 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2005-1632, GHSA-vxf2-7rc3-pxmx, PYSEC-2026-622.

Is CVE-2005-1632 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free