CVE-2026-138299: CherryTree through 1.7.3 Local File Read via LaTeX Filter Bypass

Published Nov 28, 2026
·
Updated

CherryTree through 1.7.3 contains a LaTeX rendering filter bypass vulnerability in islatextextsafe() 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.

Affected Software

1 affected component
Giuseppe Penone CherryTree<=1.7.3

Event History

Nov 28, 2026
CVE Published
via MITRE·05:05 PM
Data Sourced
via MITRE·05:05 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of CherryTree through 1.7.3 are exposed when they open an attacker-crafted document containing a LaTeX node. The attacker’s content can cause local file contents to be rendered into an embedded note image.

2

What interaction does exploitation require?

An attacker must craft a document with a LaTeX node and persuade a user to open it. The CVSS vector indicates local access, high attack complexity, no privileges required, and user interaction is required.

3

How does the filter bypass work?

The vulnerable _is_latex_text_safe() filter can be bypassed by constructing blocked command names through TeX macro expansion. The described example uses \csname verbatiminput\endcsname.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203