{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "3.1.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "07669617ba91e3d1f4f754bdf3a6796c8cd0b043"
            }
          ],
          "repo": "https://github.com/nette/latte",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142194.json"
  },
  "details": "Latte through 3.1.10 contains a sandbox bypass vulnerability that allows template authors to call arbitrary PHP functions by passing string callables to the |map and |filter filters. Attackers can supply a function name like system as a callable, which RuntimeChecker::args() does not check against allowFunctions(), to execute operating system commands with web application privileges.",
  "id": "CVE-2026-142194",
  "modified": "2026-12-02T17:45:17.580166914Z",
  "published": "2026-12-02T16:50:56.143Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142194.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/nette/latte"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/nette/latte/blob/v3.1.10/src/Latte/Essential/Filters.php#L665-L688"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/nette/latte/blob/v3.1.10/src/Latte/Sandbox/RuntimeChecker.php#L77-L90"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142194"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/latte-through-3.1.10-sandbox-bypass-via-map-and-filter-filters"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Latte through 3.1.10 Sandbox Bypass via map and filter Filters"
}