Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. cakephp/twig-view
  4. ›
  5. CVE-2026-59191

CVE-2026-59191: TwigView FileLoader may allow arbitrary file reads through user-controlled template paths

November 24, 2026

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 →

Affected versions

All versions before 1.3.3, all versions starting from 2.0.0 before 2.1.2

Fixed versions

  • 1.3.3
  • 2.1.2

Solution

Upgrade to versions 1.3.3, 2.1.2 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

packagist/cakephp/twig-view/CVE-2026-59191.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Nov 2026 12:18:19 +0000.