CVE-2026-59191
TwigView plugin for CakePHP provides wrappers for common View …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/cakephp/twig-view/releases/tag/1.3.3
- github.com/cakephp/twig-view/releases/tag/2.1.2
- github.com/cakephp/twig-view/security/advisories/GHSA-hq9r-72jq-2pxp
- nvd.nist.gov/vuln/detail/CVE-2026-59191
- github.com/cakephp/twig-view/commit/1c5107c9f562ab285273ceafd1c28bf314faa6d5
- github.com/cakephp/twig-view/commit/65f5035ee65e76925242fdca2dc2bb0d732b6c1d
- github.com/advisories/GHSA-hq9r-72jq-2pxp
- nvd.nist.gov/vuln/detail/CVE-2026-59191
- cve.org/CVERecord?id=CVE-2026-59191
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.