CVE-2026-59191 Details
Description
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.
An arbitrary file read vulnerability has been identified in the TwigView plugin for CakePHP, affecting versions prior to 1.3.3 and 2.1.2. The issue arises in the FileLoader component, where the findTemplate() method can be exploited if it receives unvalidated user-controlled data. This vulnerability allows for the reading of arbitrary files on the server.
Users can upgrade to TwigView versions 1.3.3 or 2.1.2, both of which include the necessary security fix. Instructions for downloading these versions are available on the TwigView GitHub releases page.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 11, 2026CISA-ADP
Assessed Nov 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/cakephp/twig-view/releases/tag/1.3.3 | [email protected] | Release NotesVendor |
| https://github.com/cakephp/twig-view/releases/tag/2.1.2 | [email protected] | Release NotesVendor |
| https://github.com/cakephp/twig-view/security/advisories/GHSA-hq9r-72jq-2pxp | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| CakePHP TwigView | < 1.3.3 (semver) < 2.1.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 12, 2026 | CVE Modified | CISA-ADP |
| Nov 11, 2026 | New CVE Received | [email protected] |
Volerion