CVE-2026-59191

Source
https://cve.org/CVERecord?id=CVE-2026-59191
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59191.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-59191
Aliases
  • GHSA-hq9r-72jq-2pxp
Published
2026-11-11T04:24:36Z
Modified
2026-11-13T02:30:33Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
TwigView: FileLoader is vulnerable to arbitrary file read
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59191.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "1.3.3"
                        },
                        {
                            "introduced": "2.0.0"
                        },
                        {
                            "fixed": "2.1.2"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                }
            ]
        },
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "1.3.3"
                        },
                        {
                            "fixed": "1.3.3"
                        }
                    ],
                    "source": "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/cakephp/twig-view

Affected ranges

Type
GIT
Repo
https://github.com/cakephp/twig-view
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "original_tag": "1.3.3",
            "range": [
                {
                    "fixed": "65f5035ee65e76925242fdca2dc2bb0d732b6c1d"
                }
            ],
            "source": "REFERENCES_TAG"
        },
        {
            "original_tag": "2.1.2",
            "range": [
                {
                    "fixed": "99a59407b138a0efff0ce3896cbf67e71a9c9cd3"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

1.*
1.0.0
1.0.0-RC1
1.0.0-RC2
1.0.0-beta1
1.0.0-beta2
1.0.1
1.0.2
1.1.0
1.1.1
1.2.0
1.3.0
1.3.1
1.3.2
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.1.0
2.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59191.json"