PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-59191 cakephp CVE debrief

The 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.

Vendor
cakephp
Product
twig-view
CVSS
MEDIUM 6.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-11
Original CVE updated
2026-11-12
Advisory published
2026-11-11
Advisory updated
2026-11-12

Who should care

Defenders responsible for CakePHP applications using the TwigView plugin should assess exposure and apply patches. This includes reviewing current deployments, identifying potential vulnerabilities, and ensuring that patches are applied to prevent unauthorized file access. Security teams and vulnerability management teams should prioritize this issue due to its potential impact on data confidentiality and integrity.

Why it matters

Defenders should care about CVE-2026-59191 because it allows for arbitrary file reads in TwigView plugin for CakePHP, potentially leading to unauthorized file access. Verification of exposure and application of patches are crucial.

  • Potential unauthorized file reads
  • Verification of patched versions required
  • Monitoring for potential file read attempts

Technical summary

The TwigView plugin for CakePHP is vulnerable to arbitrary file read when FileLoader::findTemplate() is supplied un-validated user controlled data. This issue affects versions before 1.3.3 and 2.1.2. Defenders should focus on verifying exposure and applying patches. Technical details indicate that arbitrary files can be read if the plugin is used with un-validated input, potentially leading to unauthorized file access. Verification of patched versions and monitoring for file read attempts are essential defensive measures.

Defensive priority

Defenders should prioritize verifying exposure and applying patches for TwigView versions before 1.3.3 and 2.1.2.

Recommended defensive actions

  • Verify exposure of TwigView installations to un-validated user controlled data
  • Apply patches for TwigView versions before 1.3.3 and 2.1.2
  • Monitor for potential file read attempts
  • Review compensating controls for exposed systems
  • Check relevant monitoring, detection, and logs for exposed assets
  • Track exceptions and retest remediated assets
  • Plan vendor-supported updates through normal change control

Evidence notes

The CVE record and source item provide details on the vulnerability and patched versions. Defenders should verify exposure by checking if un-validated user controlled data is supplied to FileLoader::findTemplate() in TwigView plugin for CakePHP versions before 1.3.3 and 2.1.2. Evidence limits suggest confirming affected deployments exist and reviewing official advisories for scope, severity, and guidance. Tracking exceptions and retesting remediated assets is crucial.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-59191 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-59191

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-59191 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-59191

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • TwigView: FileLoader is vulnerable to arbitrary file read

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/59xxx/CVE-2026-59191.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/cakephp/twig-view/security/advisories/GHSA-hq9r-72jq-2pxp

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/cakephp/twig-view/releases/tag/1.3.3

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/cakephp/twig-view/releases/tag/2.1.2

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.