CVE-2026-59191
published medium CVSS 4.0 · 6.9TwigView: FileLoader is vulnerable to arbitrary file read
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cakephp | — | twig-view< 1.3.3 · >= 2.0.0, < 2.1.2 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cakephp | twig-view | < 1.3.3 (affected)>= 2.0.0, < 2.1.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory
References
3Provider assertions
2GitHub_M · cna
TwigView: FileLoader is vulnerable to arbitrary file read
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 56e2988084b016cb1b45c21d29ff2da9c5ae557deb62b627b12d786b5e660da4
- Ingested
- 12 Nov 2026, 18:03:24 UTC
- Source record
- Official CVE record