Home/Research/Post

GHSA-hq9r-72jq-2pxp: TwigView FileLoader may allow arbitrary file reads through user-controlled template paths

  • Severity: MEDIUM
  • CVE: CVE-2026-59191
  • Ecosystems: composer, composer
  • Packages: cakephp/twig-view, cakephp/twig-view

### Impact
If `FileLoader::findTemplate()` is supplied un-validated user controlled data, arbitrary files can be read.

### Patches
1.3.3 and 2.1.2 contain a fix for this issue.

### Workarounds
Don’t supply user controlled data to `include` and `extends` tags.

Source: GitHub Security Advisories · 2026-11-24