{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.1.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "3c70898a0a5e5624509b7fe57753aa2b8794ed1c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v3.1.7",
                "range": [
                  {
                    "fixed": "c169e1346947deceb699c5976d6307829c68c4c8"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c169e1346947deceb699c5976d6307829c68c4c8"
            },
            {
              "fixed": "3c70898a0a5e5624509b7fe57753aa2b8794ed1c"
            }
          ],
          "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-142195.json"
  },
  "details": "Latte before 3.1.7 contains a sandbox bypass vulnerability that allows template authors to read forbidden properties by abusing double-evaluated dynamic property names. Attackers can craft side-effecting name expressions in PropertyFetchNode or StaticPropertyFetchNode so the policy check sees an allowed property while access reads a forbidden one.",
  "id": "CVE-2026-142195",
  "modified": "2026-12-02T20:45:34.736025300Z",
  "published": "2026-12-02T16:50:55.021Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142195.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/nette/latte"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/nette/latte/blob/v3.1.6/src/Latte/Compiler/PrintContext.php#L244-L260"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/nette/latte/blob/v3.1.6/src/Latte/Sandbox/Nodes/PropertyFetchNode.php#L25-L32"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nette/latte/commit/3c70898a0a5e5624509b7fe57753aa2b8794ed1c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nette/latte/releases/tag/v3.1.7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142195"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/latte-before-3.1.7-sandbox-bypass-via-double-evaluated-dynamic-property-names"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Latte before 3.1.7 Sandbox Bypass via Double-Evaluated Dynamic Property Names"
}