CVE-2026-138299
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-138299 NameCVE-2026-138299 DescriptionCherryTree 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…
CVE-2026-138299
| Name | CVE-2026-138299 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| cherrytree (PTS) | bookworm | 0.99.48+dfsg-1 | vulnerable |
| trixie | 1.2.0+dfsg-1 | vulnerable | |
| forky, sid | 1.7.3+dfsg-0.1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| cherrytree | source | (unstable) | (unfixed) |
Notes
https://github.com/giuspen/cherrytree/issues/2846
https://github.com/giuspen/cherrytree/commit/1f9d04469c5171ea294fdd29a35dec37fb1c89a1
Apply commands
https://github.com/giuspen/cherrytree/issues/2846https://github.com/giuspen/cherrytree/commit/1f9d04469c5171ea294fdd29a35dec37fb1c89a1
OS impact
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | cherrytree |
Affected | — |
| sid | cherrytree |
Affected | — |
| forky | cherrytree |
Affected | — |
| bookworm | cherrytree |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| giuspen | cherrytree | {"endIncluding":"1.7.3"} | |
References
- https://github.com/giuspen/cherrytree/blob/v1.7.3/src/ct/ct_image.cc#L528-L561
- https://github.com/giuspen/cherrytree/commit/1f9d04469c5171ea294fdd29a35dec37fb1c89a1
- https://github.com/giuspen/cherrytree/issues/2846
- https://www.vulncheck.com/advisories/cherrytree-through-1.7.3-local-file-read-via-latex-filter-bypass
- https://security-tracker.debian.org/tracker/CVE-2026-138299
CWEs
CWE-184
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.