{"id":"CVE-2026-59191","summary":"TwigView: FileLoader is vulnerable to arbitrary file read","details":"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.","aliases":["GHSA-hq9r-72jq-2pxp"],"modified":"2026-11-13T02:30:33.621058535Z","published":"2026-11-11T04:24:36.256Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59191.json","unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"fixed":"1.3.3"},{"introduced":"2.0.0"},{"fixed":"2.1.2"}]}]},{"extracted_events":[{"source":"DESCRIPTION","range":[{"fixed":"1.3.3"},{"fixed":"1.3.3"}]}]}]},"references":[{"type":"WEB","url":"https://github.com/cakephp/twig-view/releases/tag/1.3.3"},{"type":"WEB","url":"https://github.com/cakephp/twig-view/releases/tag/2.1.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59191.json"},{"type":"ADVISORY","url":"https://github.com/cakephp/twig-view/security/advisories/GHSA-hq9r-72jq-2pxp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59191"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cakephp/twig-view","events":[{"introduced":"0"},{"fixed":"65f5035ee65e76925242fdca2dc2bb0d732b6c1d"},{"fixed":"99a59407b138a0efff0ce3896cbf67e71a9c9cd3"}],"database_specific":{"extracted_events":[{"source":"REFERENCES_TAG","original_tag":"1.3.3","range":[{"fixed":"65f5035ee65e76925242fdca2dc2bb0d732b6c1d"}]},{"range":[{"fixed":"99a59407b138a0efff0ce3896cbf67e71a9c9cd3"}],"source":"REFERENCES_TAG","original_tag":"2.1.2"}]}}],"versions":["1.3.2","2.1.1","1.3.1","2.1.0","2.0.3","2.0.2","2.0.1","2.0.0","1.3.0","1.2.0","1.1.1","1.1.0","1.0.2","1.0.1","1.0.0-RC2","1.0.0","1.0.0-RC1","1.0.0-beta2","1.0.0-beta1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59191.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}