Vulnerabilities · 2014 · Python
CVE-2014-4650
Python vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Python, Software Collections, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.python.org/issue21766 · Exploit
- openwall.com/lists/oss-security/2014/06/26/3 · Third Party Advisory
- access.redhat.com/security/cve/cve-2014-4650 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2014-4650
- cve.org/CVERecord?id=CVE-2014-4650
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.