Every CVE Search/ Get API key

CVE-2008-0252

CherryPy Malicious cookies allow access to files outside the session directory

7.5 HighFix available

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.

Exploit likelihood

2.65%Down 1.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2008-0252
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2008-0252
Updated
2026-11-02
EUVDEUVD-2008-0001 No score

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.

Record
EUVD-2008-0001
Updated
2026-11-03
GitHub AdvisoriesGHSA-76x8-gg39-5jjg 8.7

CherryPy Malicious cookies allow access to files outside the session directory

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.

Record
GHSA-76x8-gg39-5jjg
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
OSVGHSA-76x8-gg39-5jjg 8.7

CherryPy Malicious cookies allow access to files outside the session directory

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.

Record
GHSA-76x8-gg39-5jjg
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
OSV No score

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.

Record
CVE-2008-0252
Updated
2026-11-02
OSVDEBIAN-CVE-2008-0252 No score

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.

Record
DEBIAN-CVE-2008-0252
Updated
2026-11-02
OSVPYSEC-2008-3 No score

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.

Record
PYSEC-2008-3
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cherrypy
PyPI
before 2.1.1
2.1.1
cherrypy
PyPI
3.0 up to 3.0.2
3.0.2
cherrypy3
Debian:12
before 3.0.2-2
3.0.2-2
cherrypy3
Debian:13
before 3.0.2-2
3.0.2-2
cherrypy3
Debian:14
before 3.0.2-2
3.0.2-2
python-cherrypy
Debian:4.0
before 2.2.1-3etch1, plus listed versions
2.2.1-3
2.2.1-3etch1
cherrypy
PyPI
before 2.1.1, plus listed versions
0.102.0.0-final2.0.0b2.1.02.1.0-beta
2.1.1
cherrypy
PyPI
3.0 up to 3.0.2, plus listed versions
3.0.03.0.1
3.0.2
cherrypy
PyPI
before 2.1.1, 3.0 up to 3.0.2, plus listed versions
0.102.0.0-final2.0.0b2.1.02.1.0-beta3.0.03.0.1
2.1.13.0.2

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2008-0252 is a high vulnerability (CVSS 7.5) in Cherrypy, published January 12, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.65%, the 85th percentile. Fixed in cherrypy 2.1.1.

References

Show 25 moreShow less
MoveEnter Open