TwigView: FileLoader is vulnerable to arbitrary file read

State
Published
Severity
6.9 Medium
Published
Nov 11, 2026
Updated
Nov 12, 2026
Reserved
Jul 2, 2026

Read the record on cve.org

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.

ProductVersions
twig-view cakephp< 1.3.3 Affected>= 2.0.0, < 2.1.2 Affected

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.