All reports
High

CherryPy Malicious cookies allow access to files outside the session directory

Affected versions

Version ranges need review.

Affected versions
>= 0, < 2.1.1
Fixed version
2.1.1
Affected versions
>= 3.0, < 3.0.2
Fixed version
3.0.2
Affected versions
<2.1.1 || >=3.0 <3.0.2
Fixed version
2.1.1 · 3.0.2

Exploitation

CVE-2008-0252

Probability of exploitation in the next 30 days: 2.65%

FIRST EPSS · 2026-11-22

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.

Links

Credits

  • anonymous4ACL24