GHSA-P76F-WR22-4RV6

GHSA-P76F-WR22-4RV6 is a medium-severity security vulnerability in cakephp/cakephp (composer), affecting versions >= 2.0.0, < 2.0.99. It is fixed in 2.0.99, 2.1.99, 2.2.99, 2.3.99, 2.4.99, 2.5.99, 2.6.12, 2.7.6, 3.0.15, 3.1.4.

Summary

CakePHP 2.x prior to 2.0.99, 2.1.99, 2.2.99, 2.3.99, 2.4.99, 2.5.99, 2.6.12, and 2.7.6 and 3.x prior to 3.0.15 and 3.1.4 is vulnerable to Remote File Inclusion through View template name manipulation.

Impact

Affected versions

cakephp/cakephp (>= 2.0.0, < 2.0.99) cakephp/cakephp (>= 2.1.0, < 2.1.99) cakephp/cakephp (>= 2.2.0, < 2.2.99) cakephp/cakephp (>= 2.3.0, < 2.3.99) cakephp/cakephp (>= 2.4.0, < 2.4.99) cakephp/cakephp (>= 2.5.0, < 2.5.99) cakephp/cakephp (>= 2.6.0, < 2.6.12) cakephp/cakephp (>= 2.7.0, < 2.7.6) cakephp/cakephp (>= 3.0.0, < 3.0.15) cakephp/cakephp (>= 3.1.0, < 3.1.4)

Security releases

cakephp/cakephp → 2.0.99 (composer) cakephp/cakephp → 2.1.99 (composer) cakephp/cakephp → 2.2.99 (composer) cakephp/cakephp → 2.3.99 (composer) cakephp/cakephp → 2.4.99 (composer) cakephp/cakephp → 2.5.99 (composer) cakephp/cakephp → 2.6.12 (composer) cakephp/cakephp → 2.7.6 (composer) cakephp/cakephp → 3.0.15 (composer) cakephp/cakephp → 3.1.4 (composer)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

Upgrade the following packages to resolve this vulnerability:

cakephp/cakephp to 2.0.99 or later; cakephp/cakephp to 2.1.99 or later; cakephp/cakephp to 2.2.99 or later; cakephp/cakephp to 2.3.99 or later; cakephp/cakephp to 2.4.99 or later; cakephp/cakephp to 2.5.99 or later; cakephp/cakephp to 2.6.12 or later; cakephp/cakephp to 2.7.6 or later; cakephp/cakephp to 3.0.15 or later; cakephp/cakephp to 3.1.4 or later

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is GHSA-P76F-WR22-4RV6? GHSA-P76F-WR22-4RV6 is a medium-severity security vulnerability in cakephp/cakephp (composer), affecting versions >= 2.0.0, < 2.0.99. It is fixed in 2.0.99, 2.1.99, 2.2.99, 2.3.99, 2.4.99, 2.5.99, 2.6.12, 2.7.6, 3.0.15, 3.1.4.
  2. Which versions of cakephp/cakephp are affected by GHSA-P76F-WR22-4RV6? cakephp/cakephp (composer) versions >= 2.0.0, < 2.0.99 is affected.
  3. Is there a fix for GHSA-P76F-WR22-4RV6? Yes. GHSA-P76F-WR22-4RV6 is fixed in 2.0.99, 2.1.99, 2.2.99, 2.3.99, 2.4.99, 2.5.99, 2.6.12, 2.7.6, 3.0.15, 3.1.4. Upgrade to this version or later.
  4. Is GHSA-P76F-WR22-4RV6 exploitable, and should I be worried? Whether GHSA-P76F-WR22-4RV6 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether GHSA-P76F-WR22-4RV6 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix GHSA-P76F-WR22-4RV6?
    • Upgrade cakephp/cakephp to 2.0.99 or later
    • Upgrade cakephp/cakephp to 2.1.99 or later
    • Upgrade cakephp/cakephp to 2.2.99 or later
    • Upgrade cakephp/cakephp to 2.3.99 or later
    • Upgrade cakephp/cakephp to 2.4.99 or later
    • Upgrade cakephp/cakephp to 2.5.99 or later
    • Upgrade cakephp/cakephp to 2.6.12 or later
    • Upgrade cakephp/cakephp to 2.7.6 or later
    • Upgrade cakephp/cakephp to 3.0.15 or later
    • Upgrade cakephp/cakephp to 3.1.4 or later

Other vulnerabilities in cakephp/cakephp

Stop the waste.
Protect your environment with Kodem.