{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "original_tag": "1.3.3",
                "range": [
                  {
                    "fixed": "65f5035ee65e76925242fdca2dc2bb0d732b6c1d"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "2.1.2",
                "range": [
                  {
                    "fixed": "99a59407b138a0efff0ce3896cbf67e71a9c9cd3"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "65f5035ee65e76925242fdca2dc2bb0d732b6c1d"
            },
            {
              "fixed": "99a59407b138a0efff0ce3896cbf67e71a9c9cd3"
            }
          ],
          "repo": "https://github.com/cakephp/twig-view",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-hq9r-72jq-2pxp"
  ],
  "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"
          }
        ]
      }
    ]
  },
  "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.",
  "id": "CVE-2026-59191",
  "modified": "2026-11-14T02:30:46.657837092Z",
  "published": "2026-11-11T04:24:36.256Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/cakephp/twig-view/releases/tag/1.3.3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cakephp/twig-view/releases/tag/2.1.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59191.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/cakephp/twig-view/security/advisories/GHSA-hq9r-72jq-2pxp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59191"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "TwigView: FileLoader is vulnerable to arbitrary file read"
}