CVE-2008-0252

CVE-2008-0252 is a high-severity vulnerability in Cherrypy with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.

Key facts

Description

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.

Frequently asked questions

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.
How severe is CVE-2008-0252?
CVE-2008-0252 has a CVSS 2.0 base score of 7.5, rated high severity.
Is CVE-2008-0252 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (84th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2008-0252?
CVE-2008-0252 affects Cherrypy. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2008-0252?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2008-0252 published?
CVE-2008-0252 was published on 2008-01-12 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Cherrypy

All CVEs affecting Cherrypy →

Other CWE-22 (Path Traversal) vulnerabilities

Browse all CWE-22 (Path Traversal) vulnerabilities →