# CVE-2006-5031: CakePHP directory traversal vulnerability allows remote attackers to read arbitrary files

Source: https://junglewise.ai/threats/cve-2006-5031-cakephp-directory-traversal-vulnerability-allows-remote-attackers  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-01  
License: CC BY 4.0 with a link back

CVE-2006-5031 · Severity: info · Published 2022-05-01

CakePHP directory traversal vulnerability allows remote attackers to read arbitrary files

Technologies: [cakephp/cakephp (Packagist)](https://junglewise.ai/threats/technologies/cakephp-cakephp). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2006-5031 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2006-5031 being exploited in the wild.

**How severe is CVE-2006-5031?** Informational severity, published 1 May 2022.

**Which products and versions are affected?** cakephp/cakephp (Packagist) ECOSYSTEM:introduced=1.0.1.2708,fixed=1.1.8.3544.

**Is there a fix for CVE-2006-5031?** Yes. cakephp/cakephp (Packagist): upgrade to 1.1.8.3544 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2006-5031?** Check whether you run cakephp/cakephp (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- cakephp/cakephp (Packagist): upgrade to 1.1.8.3544 or later

  ```sh
  composer require cakephp/cakephp:^1.1.8.3544
  ```


## Affected products

- cakephp/cakephp (Packagist) ECOSYSTEM:introduced=1.0.1.2708,fixed=1.1.8.3544

## Identifiers

- CVE-2006-5031
- GHSA-rw73-xmpv-j5x2

## Related threats

- [CakePHP FunctionsBuilder SQL injection in multiple methods](https://junglewise.ai/threats/cve-2026-79752-cakephp-functionsbuilder-sql-injection-in-multiple-methods)
- [CakePHP FunctionsBuilder::jsonValue SQL injection with PostgresDriver](https://junglewise.ai/threats/cve-2026-77635-cakephp-functionsbuilder-jsonvalue-sql-injection-with)
- [CakePHP SmtpTransport CRLF header injection](https://junglewise.ai/threats/cve-2026-77634-cakephp-smtptransport-crlf-header-injection)
- [CakePHP path traversal and file inclusion in View component](https://junglewise.ai/threats/cve-2026-48820-cakephp-path-traversal-and-file-inclusion-in-view-component)
- [CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting](https://junglewise.ai/threats/cve-2026-23643-cakephp-paginatorhelper-limitcontrol-vulnerable-to-reflected)
