PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-138299 giuspen CVE debrief

A LaTeX rendering filter bypass vulnerability exists in CherryTree through 1.7.3, allowing attackers to read local files by building blocked command names with TeX macro expansion. This vulnerability can be exploited by crafting a document with a LaTeX node using to render user-readable files into the embedded note image when opened. Defenders should assess exposure and prioritize patching to prevent potential sensitive information disclosure. The vulnerability is caused by a LaTeX rendering filter bypass in _is_latex_text_safe().

Vendor
giuspen
Product
cherrytree
CVSS
MEDIUM 5.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-28
Original CVE updated
2026-11-28
Advisory published
2026-11-28
Advisory updated
2026-11-28

Who should care

Defenders responsible for CherryTree installations should assess exposure and prioritize patching to prevent potential sensitive information disclosure. This includes reviewing and updating affected systems, restricting access to sensitive files and directories, and monitoring for suspicious activity. Security teams and vulnerability management teams should also be aware of this vulnerability and take necessary actions to mitigate the risk. Additionally, 3

Why it matters

A LaTeX rendering filter bypass vulnerability in CherryTree through 1.7.3 allows attackers to read local files, potentially leading to sensitive information disclosure.

  • Local file reads can lead to sensitive information disclosure.
  • Attackers can exploit this vulnerability to access sensitive files.
  • Defenders should verify and patch affected installations to prevent exploitation.

Technical summary

The vulnerability exists in the _is_latex_text_safe() function, allowing attackers to bypass the LaTeX rendering filter and read local files. This is achieved by building blocked command names with TeX macro expansion, which can be exploited by crafting a document with a LaTeX node using to render user-readable files into the embedded note image when opened. The vulnerability allows for local file reads, potentially leading to sensitive information disclosure. Defenders should prioritize verifying and patching affected CherryTree installations.

Defensive priority

Defenders should prioritize verifying and patching affected CherryTree installations, as the vulnerability allows for local file reads.

Recommended defensive actions

  • Verify and patch affected CherryTree installations
  • Restrict access to sensitive files and directories
  • Monitor for suspicious activity
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is caused by a LaTeX rendering filter bypass in _is_latex_text_safe(). Attackers can craft a document with a LaTeX node using to render user-readable files into the embedded note image when opened.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-138299 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-138299

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-138299 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-138299

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • CherryTree through 1.7.3 Local File Read via LaTeX Filter Bypass

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/138xxx/CVE-2026-138299.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/giuspen/cherrytree/commit/1f9d04469c5171ea294fdd29a35dec37fb1c89a1

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/giuspen/cherrytree/blob/v1.7.3/src/ct/ct_image.cc

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://github.com/giuspen/cherrytree/issues/2846

    Supplemental source - related, issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/cherrytree-through-1.7.3-local-file-read-via-latex-filter-bypass

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.