CVE-2026-59191
MEDIUM 6.9CVSS 4.0TwigView FileLoader may allow arbitrary file reads through user-controlled template paths
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.
- Published
- 11 Nov 2026
- Last modified
- 24 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-hq9r-72jq-2pxp
- Sources
- NVDJSONOSV GHSA-hq9r-72jq-2pxpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | cakephp/twig-view | < 1.3.3 | 1.3.3 |
| OSV | Packagist | cakephp/twig-view | >= 2.0.0, < 2.1.2 | 2.1.2 |
References
- https://github.com/cakephp/twig-view/releases/tag/1.3.3 · WEB
- https://github.com/cakephp/twig-view/releases/tag/2.1.2 · WEB
- https://github.com/cakephp/twig-view/security/advisories/GHSA-hq9r-72jq-2pxp · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59191 · ADVISORY
- https://github.com/cakephp/twig-view/commit/1c5107c9f562ab285273ceafd1c28bf314faa6d5 · WEB
- https://github.com/cakephp/twig-view/commit/65f5035ee65e76925242fdca2dc2bb0d732b6c1d · WEB
- https://github.com/cakephp/twig-view · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 11 Nov 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 Nov 2026)