home / blog

2026-11-25 · medium

CVE-2026-59191: Arbitrary File Read in CakePHP TwigView Plugin

CVSS 6.9 vulnerability in CakePHP TwigView allows file read via FileLoader::findTemplate().

CVE-2026-59191: Arbitrary File Read in CakePHP TwigView Plugin

CVE-2026-59191 is a security vulnerability in the TwigView plugin for CakePHP that, when the FileLoader::findTemplate() method receives unvalidated user-controlled data, allows arbitrary files to be read from the system. This can lead to exposure of sensitive information.

The vulnerability has a CVSS score of 6.9, classified as Medium. There are indications that public repositories have been created declaring to contain exploits for this vulnerability. The patch is available in versions 1.3.3 and 2.1.2 of the plugin.

To defend against this vulnerability, it is essential to immediately update the TwigView plugin to version 1.3.3 or 2.1.2. Also verify if the component is used in the infrastructure and implement strict validation controls on user-provided data in template loading operations.

At a glance

What
Arbitrary file read vulnerability in TwigView plugin for CakePHP
Severity
CVSS 6.9 (Medium)
Affected versions
Before 1.3.3 and 2.1.2
Fix
Update to version 1.3.3 or 2.1.2
Status
Patch available
Action
Immediately update the plugin to patched version

Sources: NVD, CVE-2026-59191

← All articles