CVE-2026-138299
Received Received - Intake

LaTeX Filter Bypass in CherryTree Allows Local File Read

Vulnerability report for CVE-2026-138299, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-28

Last updated on: 2026-11-28

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-28
Last Modified
2026-11-28
Generated
2026-11-29
AI Q&A
2026-11-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
giuspen cherrytree From 0 (inc) to 1.7.3 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-184 The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-138299 is a LaTeX rendering filter bypass vulnerability in CherryTree through version 1.7.3. It exists in the _is_latex_text_safe() function where attackers can exploit TeX macro expansion to bypass security checks. By using commands like \csname verbatiminput\endcsname, malicious LaTeX nodes can force the application to read local files and embed them into note images when a document is opened.

Detection Guidance

To detect this vulnerability, check if CherryTree version 1.7.3 or earlier is installed on your system. Use commands like 'cherrytree --version' or inspect package managers for installed versions. Review documents containing LaTeX nodes for suspicious commands like \csname verbatiminput\endcsname.

Impact Analysis

This vulnerability allows attackers to read sensitive local files on your system by crafting malicious CherryTree documents. When you open such a document, the application may unintentionally render restricted files like /etc/passwd or SSH keys into embedded images. This could lead to unauthorized access to confidential information.

Compliance Impact

This vulnerability could lead to violations of GDPR and HIPAA by enabling unauthorized access to sensitive personal data. GDPR requires protection of personal data, while HIPAA mandates safeguards for protected health information. A successful exploit could result in unauthorized data exposure, triggering compliance breaches and potential legal consequences.

Mitigation Strategies

Immediately update CherryTree to the latest patched version (1.6.4 or higher). Avoid opening untrusted CherryTree documents. If updating is not possible, disable LaTeX rendering in CherryTree settings or remove the application until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138299. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...