CVE-2026-59191 PUBLISHED

TwigView: FileLoader is vulnerable to arbitrary file read

Assigner: GitHub_M
Reserved: 02.07.2026 Published: 11.11.2026 Updated: 12.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor cakephp
Product twig-view
Versions
  • Version < 1.3.3 is affected
  • Version >= 2.0.0, < 2.1.2 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory CWE