CVE-2008-0252Cherrypy
High 7.5 No auth needed
Follow: this CVE · Cherrypy · Cherrypy We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 2.0
- 7.5
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Jan 12, 2008
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Cherrypy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | cherrypy |
< 2.1.1 |
2.1.1 |
pip install "cherrypy>=2.1.1" |
| PyPI | cherrypy |
≥ 3.0 < 3.0.2 |
3.0.2 |
pip install "cherrypy>=3.0.2" |
| PyPI | cherrypy |
< 2.1.1 |
2.1.1 |
pip install "cherrypy>=2.1.1" |
| PyPI | cherrypy |
≥ 3.0 < 3.0.2 |
3.0.2 |
pip install "cherrypy>=3.0.2" |
Per OSV / GitHub Advisories (GHSA-76x8-gg39-5jjg, PYSEC-2008-3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cherrypy | cherrypy | ≤ 2.1.0 |
| cherrypy | cherrypy | ≤ 3.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- secunia.com
- secunia.com Vendor Advisory
- secunia.com
- secunia.com
- secunia.com
- security.gentoo.org
- www.cherrypy.org Exploit Patch
- www.cherrypy.org Exploit Patch
- www.cherrypy.org Exploit
- www.cherrypy.org Exploit
- www.debian.org
- www.securityfocus.com
- www.securityfocus.com
- www.vupen.com
- bugs.gentoo.org
- issues.rpath.com
- www.redhat.com
- www.redhat.com