{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.7.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "1f9d04469c5171ea294fdd29a35dec37fb1c89a1"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "69f9a40f249856c631f88ddee2be4b0d489d2cac"
            },
            {
              "fixed": "1f9d04469c5171ea294fdd29a35dec37fb1c89a1"
            }
          ],
          "repo": "https://github.com/giuspen/cherrytree",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-184"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138299.json"
  },
  "details": "CherryTree through 1.7.3 contains a LaTeX rendering filter bypass vulnerability in _is_latex_text_safe() that allows attackers to read local files by building blocked command names with TeX macro expansion. Attackers can craft a document with a LaTeX node using \\csname verbatiminput\\endcsname to render user-readable files into the embedded note image when opened.",
  "id": "CVE-2026-138299",
  "modified": "2026-11-28T18:45:47.615384477Z",
  "published": "2026-11-28T17:05:36.084Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138299.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/giuspen/cherrytree"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/giuspen/cherrytree/blob/v1.7.3/src/ct/ct_image.cc#L528-L561"
    },
    {
      "type": "FIX",
      "url": "https://github.com/giuspen/cherrytree/commit/1f9d04469c5171ea294fdd29a35dec37fb1c89a1"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/giuspen/cherrytree/issues/2846"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138299"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/cherrytree-through-1.7.3-local-file-read-via-latex-filter-bypass"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CherryTree through 1.7.3 Local File Read via LaTeX Filter Bypass"
}