GHSA-p76f-wr22-4rv6: CakePHP vulnerable to Remote File Inclusion through View template name manipulation

medium Affects cakephp/cakephp. Feed 2026.10.29.4, updated 2026-10-29; published ; advisory modified .

CakePHP vulnerable to Remote File Inclusion through View template name manipulation

Package
cakephp/cakephp Composer
Affected versions
>=2.0.0 and <2.0.99 or >=2.1.0 and <2.1.99 or >=2.2.0 and <2.2.99 or >=2.3.0 and <2.3.99 or >=2.4.0 and <2.4.99 or >=2.5.0 and <2.5.99 or >=2.6.0 and <2.6.12 or >=2.7.0 and <2.7.6 or >=3.0.0 and <3.0.15 or >=3.1.0 and <3.1.4
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
Severity
medium
Exploitation
not on CISA KEV
Published
2023-01-20
Source
osv.dev

References

NVD recordcakephp/cakephp advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories