Every CVESearch/Get API key

CVE-2008-0252

CherryPy Malicious cookies allow access to files outside the session directory

7.5 HighFix available

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.

What does this mean?
Severity
7.5 HighCVSS 2.0, NVD
Exploit chance
2.65%EPSS, 85th percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
2.1.1cherrypy +8 more

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.

Exploit likelihood

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

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

What each source reports

NVD Score used7.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 ListNo 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-0001No 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-5jjg8.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-5jjg8.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
OSVNo 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-0252No 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-3No 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

History

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

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

References

Show 25 moreShow less
MoveEnter Open