medium6.9
CVE-2026-59191
TwigView plugin for CakePHP provides wrappers for common View operations and extensions that expose CakePHP functions and jasny/twig-extensions helpers.
Impact
TwigView plugin for CakePHP provides wrappers for common View operations and extensions that expose CakePHP functions and jasny/twig-extensions helpers. Prior to versions 1.3.3 and 2.1.2, if FileLoader::findTemplate() is supplied un-validated user controlled data, arbitrary files can be read. This issue has been patched in versions 1.3.3 and 2.1.2.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data being read.
Affected products · Cakephp
| Product | Affected versions |
|---|---|
| Twig-view | from 2.0.0, before 2.1.2 before 1.3.3 Version < 1.3.3 |