CVE-2014-4650: The CGIHTTPServer module in Python 2.7.5 and 3.3.4 does not properly handle URLs in which URL encoding is used for path separators, which…

CVE-2014-4650 affects 24 listed versions of Python in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
24%EPSS (next 30 days)
20 February 2020published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Python

24 of 250 listed versions are affected. Fixed in 3.4.2, 3.3.6, 3.2.6, 2.7.8. The newest release, 3.15.2, is not affected.

3.4.1 3.4.0 3.3.6-rc1 3.3.5 3.3.5-rc2 3.3.5-rc1 3.3.4 3.3.4-rc1 3.3.3 3.3.3-rc2 3.3.3-rc1 3.3.2 3.3.1 3.3.1-rc1 3.3.0 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 3.2.0 3.2 2.7.7 2.7.6

What it is

The CGIHTTPServer module in Python 2.7.5 and 3.3.4 does not properly handle URLs in which URL encoding is used for path separators, which allows remote attackers to read script source code or conduct directory traversal attacks and execute unintended code via a crafted character sequence, as demonstrated by a %2f separator.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 20 February 2020. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2014-4650 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.