CVE-2026-59191: TwigView FileLoader may allow arbitrary file reads through user-controlled template paths
If FileLoader::findTemplate() is supplied un-validated user controlled data, arbitrary files can be read.
References
- github.com/advisories/GHSA-hq9r-72jq-2pxp
- github.com/cakephp/twig-view/commit/1c5107c9f562ab285273ceafd1c28bf314faa6d5
- github.com/cakephp/twig-view/commit/65f5035ee65e76925242fdca2dc2bb0d732b6c1d
- github.com/cakephp/twig-view/releases/tag/1.3.3
- github.com/cakephp/twig-view/releases/tag/2.1.2
- github.com/cakephp/twig-view/security/advisories/GHSA-hq9r-72jq-2pxp
- nvd.nist.gov/vuln/detail/CVE-2026-59191
Code Behaviors & Features
Detect and mitigate CVE-2026-59191 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →