Directory traversal vulnerability in the _get_file_path function in (1) lib/sessions.py…
Priority LOW 38CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.02647 85th percentileScored 2026-11-07
Public exploit Yes 4 exploit referencesTagged by NVD
Fix Fixed cherrypy (PyPI): 2.1.1, 3.0.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | cherrypy (PyPI) | before 2.1.1 | 2.1.1 | Patch available | GHSA-76x8-gg39-5jjg |
| — | cherrypy (PyPI) | 3.0 to before 3.0.2 | 3.0.2 | Patch available | GHSA-76x8-gg39-5jjg |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- cherrypy (PyPI) Vendor— Affected before 2.1.1 Fixed in 2.1.1 Patch available GHSA-76x8-gg39-5jjg
- cherrypy (PyPI) Vendor— Affected 3.0 to before 3.0.2 Fixed in 3.0.2 Patch available GHSA-76x8-gg39-5jjg
Remediation
- Fix · GHSA-76x8-gg39-5jjg cherrypy (PyPI) Fixed in 2.1.1 Advisory →
- Fix · GHSA-76x8-gg39-5jjg cherrypy (PyPI) Fixed in 3.0.2 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2008-0252
- 2026-10-03 Alias added: GHSA-76x8-gg39-5jjg
References
Exploit 4
Advisory 5
Other 13
- ADV-2008-0039
- https://bugs.gentoo.org/show_bug.cgi?id=204829
- https://issues.rpath.com/browse/RPL-2127
- https://github.com/cherrypy/cherrypy/commit/37b856eba6f207231c691dae2e5b24e072f86664
- https://github.com/cherrypy/cherrypy
- https://github.com/pypa/advisory-database/tree/main/vulns/cherrypy/PYSEC-2008-3.yaml
- https://web.archive.org/web/20080129011723/http://secunia.com/advisories/28354
- https://web.archive.org/web/20080312130713/http://secunia.com/advisories/28353
- https://web.archive.org/web/20080328003510/http://secunia.com/advisories/28611
- https://web.archive.org/web/20100122080212/http://www.vupen.com/english/advisories/2008/0039
- https://web.archive.org/web/20110513223620/http://secunia.com/advisories/28769
- https://web.archive.org/web/20111224161644/http://secunia.com/advisories/28620
- https://web.archive.org/web/20151108024505/http://www.securityfocus.com/bid/27181
More Cherrypy vulnerabilities
- TI-2006-00825 Directory traversal vulnerability in the staticfilter component in CherryPy before 2.1.1… CVSS 2.0MEDIUM 5.0
Sources
- CVE-2008-0252 · CVE Program
- CVE-2008-0252 · NVD
- FIRST EPSS
- GHSA-76x8-gg39-5jjg · GitHub Advisory Database · CC BY 4.0
- CVE-2008-0252 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences