Home / Cherrypy / Cherrypy / CVE-2008-0252
CVE-2008-0252: is it exploited, and which versions of Cherrypy are affected and fixed?
CVE-2008-0252 is a path traversal (reading or writing files outside the intended folder) vulnerability in Cherrypy. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: cherrypy before 2.1.1 and cherrypy from 3.0 before 3.0.2 (GitHub advisory GHSA-76x8-gg39-5jjg). Fixed in 2.1.1 and 3.0.2 (GitHub advisory GHSA-76x8-gg39-5jjg). Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2008-0252?
Directory traversal vulnerability in the _get_file_path function in (1) lib/sessions.py in CherryPy 3.0.x up to 3.0.2, (2) filter/sessionfilter.py in CherryPy 2.1, and (3) filter/sessionfilter.py in CherryPy 2.x allows remote attackers to create or delete arbitrary files, and possibly read and write portions of arbitrary files, via a crafted session id in a cookie.
From the CVE record by mitre, last updated August 7, 2024, 07:39 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | cherrypy | < 2.1.1 | 2.1.1 | GHSA-76x8-gg39-5jjg |
| PyPI | cherrypy | >= 3.0, < 3.0.2 | 3.0.2 | GHSA-76x8-gg39-5jjg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 13, 2024. Summary: CherryPy Malicious cookies allow access to files outside the session directory.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cherrypy | cherrypy | through 2.1.0 | application |
| cherrypy | cherrypy | through 3.0.2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:49 UTC.
How severe is CVE-2008-0252?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2008-0252 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.65% probability of exploitation activity in the next 30 days, percentile 86.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- http://www.cherrypy.org/changeset/1775 x_refsource_CONFIRM
- ADV-2008-0039 vdb-entry, x_refsource_VUPEN
- GLSA-200801-11 vendor-advisory, x_refsource_GENTOO
- 27181 vdb-entry, x_refsource_BID
- DSA-1481 vendor-advisory, x_refsource_DEBIAN
- https://bugs.gentoo.org/show_bug.cgi?id=204829 x_refsource_CONFIRM
- http://www.cherrypy.org/changeset/1776 x_refsource_CONFIRM
- http://www.cherrypy.org/changeset/1774 x_refsource_CONFIRM
- https://issues.rpath.com/browse/RPL-2127 x_refsource_CONFIRM
- 20080124 rPSA-2008-0030-1 CherryPy mailing-list, x_refsource_BUGTRAQ
- FEDORA-2008-0333 vendor-advisory, x_refsource_FEDORA
- 28769 third-party-advisory, x_refsource_SECUNIA
- http://www.cherrypy.org/ticket/744 x_refsource_CONFIRM
- 28353 third-party-advisory, x_refsource_SECUNIA
- 28611 third-party-advisory, x_refsource_SECUNIA
- 28354 third-party-advisory, x_refsource_SECUNIA
- 28620 third-party-advisory, x_refsource_SECUNIA
- FEDORA-2008-0299 vendor-advisory, x_refsource_FEDORA
When was it published, and where is the official record?
- Reserved
- January 11, 2008
- Published
- January 12, 2008, 02:00 UTC
- CVE record updated
- August 7, 2024, 07:39 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:49 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Cherrypy?
- Feb 22, 2006CVE-2006-0847 Cherrypy: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2008-0252
Is CVE-2008-0252 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 2.65% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Cherrypy are affected by CVE-2008-0252?
cherrypy before 2.1.1 and cherrypy from 3.0 before 3.0.2, per the GitHub advisory GHSA-76x8-gg39-5jjg. The tables above give every range the sources list.
Which version fixes CVE-2008-0252?
2.1.1 and 3.0.2, per the GitHub advisory GHSA-76x8-gg39-5jjg. Check the vendor's advisory before you rely on it.
How severe is CVE-2008-0252?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-0252?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.