6.9Medium

CVE-2026-59191TwigView: FileLoader is vulnerable to arbitrary file read

cakephp twig-view Published: (3 days ago)

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.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
cakephp twig-view < 1.3.3, >= 2.0.0, < 2.1.2

References and patches