Packagist (PHP)Worst: Critical22 advisories
cakephp/cakephp: known vulnerabilities
cakephp/cakephp has 22 reviewed security advisories in the GitHub Advisory Database — 3 critical, 8 high, 11 moderate. The most recent was published 2026-09-17. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the cakephp/cakephp versions running across your servers, containers and images, and ranks what to patch first.
How to fix cakephp/cakephp
Upgrade cakephp/cakephp to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):
composer require cakephp/cakephp:^5.3.7 (composer audit)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (22)
CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection
Critical CWE-89
— Affected: from 5.3.0 up to 5.3.7. Fixed in 5.3.7. Published 2026-09-17. GHSA-vjqc-q4mp-2rvf · CVE-2026-79752
CakePHP: SmtpTransport vulnerable to CRLF header injection
High CWE-93
— Affected: from 5.3.0 up to 5.3.7. Fixed in 5.3.7. Published 2026-08-24. GHSA-2qh5-382h-3jpc · CVE-2026-119417
CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
Critical CWE-89
— Affected: from 5.1.0 up to 5.1.10. Fixed in 5.1.10. Published 2026-08-24. GHSA-fxf7-vhh8-7vpq · CVE-2026-77635
CakePHP: View::element() is missing a path containment check
Moderate CWE-22
— Affected: before 4.5.11. Fixed in 4.5.11. Published 2026-06-17. GHSA-wpvj-hjcr-h3p2 · CVE-2026-48820
CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting
Moderate 5.4 CWE-79
— Affected: from 5.3.0 up to 5.3.1. Fixed in 5.3.1. Published 2026-01-16. GHSA-qh8m-9qxx-53m5 · CVE-2026-23643
CakePHP allows direct access of prefixed controller actions
Moderate
— Affected: from 2.7.0 up to 2.7.2. Fixed in 2.7.2. Published 2023-01-20. GHSA-6hg4-vp5q-47mw
CakePHP has incorrect Cross-Site Request Forgery validation
Moderate CWE-352
— Affected: from 3.0.0 up to 3.0.4. Fixed in 3.0.4. Published 2023-01-20. GHSA-829q-v5g8-hhxc
CakePHP SecurityComponent cross form submission issue
Moderate
— Affected: from 1.3.0 up to 1.3.18. Fixed in 1.3.18. Published 2023-01-20. GHSA-j9q2-f9q7-jhgq
CakePHP vulnerable to Remote File Inclusion through View template name manipulation
Moderate
— Affected: from 3.1.0 up to 3.1.4. Fixed in 3.1.4. Published 2023-01-20. GHSA-p76f-wr22-4rv6
CakePHP vulnerable to Denial of Service attack through XML payloads
High
— Affected: from 2.6.0 up to 2.6.6. Fixed in 2.6.6. Published 2023-01-20. GHSA-q79m-c546-2g63
CakePHP vulnerable to Cross-site Scripting in some development error pages
Moderate
— Affected: from 3.6.0 up to 3.6.4. Fixed in 3.6.4. Published 2023-01-20. GHSA-xwhj-pqcg-8rcr
CakePHP Database\\Query::offset() and limit() methods are vulnerable to SQL injection
Critical 9.8 CWE-89
— Affected: from 4.4.0 up to 4.4.10. Fixed in 4.4.10. Published 2023-01-17. GHSA-6g8q-qfpv-57wp · CVE-2023-22727
CakePHP allows method override parameters to bypass CSRF checks
High 8.8 CWE-352
— Affected: from 4.1.0 up to 4.1.4. Fixed in 4.1.4. Published 2021-01-26. GHSA-9pgx-pf36-w46r · CVE-2020-35239
Cross-Site Request Forgery in CakePHP
Moderate 4.3 CWE-352 CWE-79
— Affected: before 3.10.3. Fixed in 3.10.3. Published 2020-06-30. GHSA-j33j-fg2g-mcv2 · CVE-2020-15400
Unsafe deserialization in SmtpTransport in CakePHP
High 7.5 CWE-502
— Affected: from 3.7.0 up to 3.7.7. Fixed in 3.7.7. Published 2019-05-08. GHSA-qhrx-hcm6-pmrw · CVE-2019-11458
CakePHP allows remote attackers to spoof their IP
High 7.5 CWE-20
— Affected: from 3.2.0-rc1 up to 3.2.5. Fixed in 3.2.5. Published 2017-01-23. GHSA-j8p3-8m69-2hqq · CVE-2016-4793
CakePHP might allow remote attackers to bypass CSRF protection mechanism via the _method parameter
High 8.8 CWE-352
— Affected: from 2.0.0-alpha up to 3.1.5. Fixed in 3.1.5. Published 2016-01-26. GHSA-556q-h4vr-pgh2 · CVE-2015-8379
CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references
High 7.5 CWE-611
— Affected: from 2.2.0-beta up to 2.2.1. Fixed in 2.2.1. Published 2012-10-09. GHSA-5964-pq8r-4q62 · CVE-2012-4399
CakePHP 1.3.7 allows remote attackers to obtain sensitive information via a direct request to a .php file
Moderate CWE-200
— Affected: from 1.3.7 up to 1.3.8. Fixed in 1.3.8. Published 2011-09-23. GHSA-r7p6-fr3x-r877 · CVE-2011-3712
CakePHP allows remote attackers to modify internal Cake cache and execute arbitrary code
High CWE-20
— Affected: from 1.2.8 up to 1.3.6. Fixed in 1.3.6. Published 2011-01-14. GHSA-g2vx-8v47-4vhh · CVE-2010-4335
CakePHP directory traversal vulnerability allows remote attackers to read arbitrary files
Moderate CWE-22
— Affected: from 1.0.1.2708 up to 1.1.8.3544. Fixed in 1.1.8.3544. Published 2006-09-27. GHSA-rw73-xmpv-j5x2 · CVE-2006-5031
Cross-site scripting (XSS) vulnerability in CakePHP
Moderate 6.5 CWE-79
— Affected: from 1.0.1.2708 up to 1.1.7.3363. Fixed in 1.1.7.3363. Published 2006-08-10. GHSA-vc29-mvwv-wpcq · CVE-2006-4067
Find cakephp/cakephp across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.