Packagist
CVE-2026-59191
TwigView FileLoader may allow arbitrary file reads through user-controlled template paths
- Severity
- Medium
- Published
- 24 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 1.3.3, 2.1.2
- Exploit chance
- 0.5% in the next 30 daysHigher than 41% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Path traversal (CWE-22)
- Also known as
- GHSA-hq9r-72jq-2pxp
- Sources
- OSV.dev and GitHub
Description
If FileLoader::findTemplate() is supplied un-validated user controlled data, arbitrary files can be read.
Workarounds
Don't supply user controlled data to include and extends tags.
Affected software
| Software | Affected versions |
|---|---|
cakephp/twig-viewPackagist · osv:Packagist:cakephp/twig-view |
|
About cakephp/twig-view
- Monthly downloads (Packagist)
- 449,094Packagist, 24 Nov 2026
- Total downloads (Packagist)
- 7,300,360Packagist, 24 Nov 2026
Vulnerabilities in cakephp/twig-view
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-59192Cakephp twig-view unserialize Twig filter allows arbitrary object deserializationMedium 24 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-59191
- GitHub Advisory Database https://github.com/advisories/GHSA-hq9r-72jq-2pxp