CVE-2006-0847: Directory Traversal Vulnerability in CherryPy

cherrypy Updated 02 Oct 2025

Summary

22/02/2006
Yes i
High
7.5

CVE-2006-0847: Directory traversal vulnerability in the staticfilter component in CherryPy before 2.1.1 allows remote attackers to read arbitrary files via ".." sequences in unspecified vectors. Affects cherrypy versions < 2.1.1. Fixed in 2.1.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

CherryPy is a Python web framework that allows developers to build web applications. It provides a simple and intuitive interface for handling HTTP requests and responses. The framework is widely used and offers various features such as session management, URL routing, and static file serving. However, prior to version 2.1.1, CherryPy was susceptible to a directory traversal vulnerability.

Vulnerability Detail

The directory traversal vulnerability in CherryPy allows remote attackers to read arbitrary files by exploiting ".." sequences in unspecified vectors. This means that an attacker can traverse directories and access sensitive files on the server. The impact of this vulnerability can be severe, as it may lead to unauthorized disclosure of sensitive information or even compromise the entire system. It is crucial to address this vulnerability promptly to prevent potential attacks.

How To Fix

Latest published version: 18.10.0 as of 23 Oct 2026

pip install --upgrade "cherrypy==18.10.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.1.1

This is the first release that contains the fix.

pip install --upgrade "cherrypy==2.1.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The directory traversal vulnerability in CherryPy can have serious implications for the security of web applications. It is crucial to upgrade to the latest version of CherryPy (2.1.1 or later) to mitigate this vulnerability. Failure to address this issue may result in unauthorized access to sensitive files and potential system compromise. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for cherrypy →

Share this vulnerability

FAQ

CherryPy is a Python web framework used for developing web applications. It provides a convenient and efficient way to handle HTTP requests and responses.

A directory traversal vulnerability allows an attacker to access files outside of the intended directory. By manipulating file paths or using special characters like "..", an attacker can traverse directories and potentially access sensitive files.

This vulnerability can be exploited by sending specially crafted requests to the affected server. By including ".." sequences in the request, an attacker can navigate to directories outside of the intended scope and read arbitrary files.

The consequences of this vulnerability can be severe. An attacker may gain unauthorized access to sensitive information, such as configuration files or user data. In some cases, this vulnerability can lead to a complete compromise of the system.

Yes, the vulnerability can be fixed by upgrading CherryPy to version 2.1.1 or later. The fix implemented in this version addresses the directory traversal vulnerability and prevents unauthorized file access.

Related vulnerabilities

Recent vulnerabilities recorded for cherrypy.

How To Fix

Latest published version: 18.10.0 as of 23 Oct 2026

pip install --upgrade "cherrypy==18.10.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.1.1

This is the first release that contains the fix.

pip install --upgrade "cherrypy==2.1.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback