NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘 Packagist
Not in CISA KEV

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

Fix: cakephp/twig-view@1c5107c

GHSA-hq9r-72jq-2pxp is a Path Traversal vulnerability in cakephp/twig-view. A fix is available for cakephp/twig-view — see the affected versions and patch details below.

Also known asCVE-2026-59191
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Nov 23, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-hq9r-72jq-2pxp.

EPSS Exploitation Probability

via FIRST.org ↗
0.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs42th percentile — riskier than 42% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

2 pkgs affected
🐘cakephp/twig-view🐘cakephp/twig-view

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistcakephp/twig-viewall versions1.3.3composer require cakephp/twig-view:^1.3.3
🐘Packagistcakephp/twig-view≥ 2.0.0&&< 2.1.22.1.2composer require cakephp/twig-view:^2.1.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for cakephp/twig-view, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update cakephp/twig-view to 1.3.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hq9r-72jq-2pxp is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Frequently Asked Questions

### 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.
O3 Security · Impact-Aware SCA

Is GHSA-hq9r-72jq-2pxp in your dependencies?

Find it across Packagist, including transitive dependencies.

TwigView FileLoader may allow arbitrary file reads…