CVE-2026-59191: TwigView: FileLoader is vulnerable to arbitrary file read
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
TwigViewto a version that resolves this vulnerability.Fixed in 1.3.3 - Upgrade
Upgrade
TwigViewto a version that resolves this vulnerability.Fixed in 2.1.2