CVE-2026-138299

CherryTree through 1.7.3 Local File Read via LaTeX Filter Bypass

Published Nov 28, 2026 CVSS 4.0 · 5.7 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a LaTeX rendering filter bypass in CherryTree version 1.7.3 and earlier. The internal function _is_latex_text_safe() incorrectly permits macro expansion of blocked command names, allowing an attacker to embed a \csname verbatiminput\endcsname sequence that resolves to the verbatiminput macro. When a note containing this LaTeX node is opened, the application renders the referenced file as image data, effectively reading arbitrary local files.

Affected Systems

The affected product is CherryTree for the giuspen project, with v1.7.3 and earlier versions. The vulnerability is present in the LaTeX rendering engine used to embed images in notes and is not limited to a specific platform.

Risk and Exploitability

The CVSS score is 5.7, indicating moderate risk. EPSS is not available and the vulnerability is not in the KEV catalog, so there is no publicly known exploit but the mechanism is sufficiently simple that an attacker could deliver a malicious file to a target user. The attack requires the user to open a crafted CherryTree document or node.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update CherryTree to version 1.7.4 or newer where the LaTeX filter is corrected.
  • If an immediate upgrade is not possible, disable or turn off LaTeX rendering when handling untrusted documents to prevent macro expansion.
  • Run CherryTree in a sandbox or with restricted file‑system permissions so that the application cannot read sensitive files beyond its intended scope.

Generated by OpenCVE AI on November 28, 2026 at 18:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title CherryTree through 1.7.3 Local File Read via LaTeX Filter Bypass
First Time appeared Cherrytree Project
Cherrytree Project cherrytree
Weaknesses CWE-184
CPEs cpe:2.3:a:cherrytree_project:cherrytree:*:*:*:*:*:*:*:*
Vendors & Products Cherrytree Project
Cherrytree Project cherrytree
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 5.7, 'vector': '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'}

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 28, 2026, 5:05 PM
Reserved
Nov 28, 2026, 4:55 PM
Status
Received
Published
Nov 28, 2026, 5:16 PM
Modified
Nov 28, 2026, 5:16 PM