# CVE-2026-59191: TwigView: FileLoader is vulnerable to arbitrary file read

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-11-11T04:24:36.256Z
- Modified: 2026-11-24T22:45:04.241Z
- Also known as: GHSA-hq9r-72jq-2pxp
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- cakephp twig-view: < 1.3.3; >= 2.0.0, < 2.1.2
- cakephp/twig-view (Packagist): before 1.3.3; from 2.0.0 before 2.1.2

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/cakephp/twig-view/security/advisories/GHSA-hq9r-72jq-2pxp> (web)
- <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://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)

## Sources

- CVE List: [CVE-2026-59191](https://www.cve.org/CVERecord?id=CVE-2026-59191), CVE Terms of Use, modified 2026-11-12
- GitHub Advisory Database: [GHSA-hq9r-72jq-2pxp](https://github.com/advisories/GHSA-hq9r-72jq-2pxp), CC-BY-4.0, modified 2026-11-24
- NVD: [CVE-2026-59191](https://nvd.nist.gov/vuln/detail/CVE-2026-59191), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-59191 · Whole record: https://cve.day/CVE-2026-59191.json · Rebuilt by cve.day 2026-11-25T22:59:50.316Z
