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 when opened.
SourceCVE (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 PackageReleaseVersionStatus
cherrytree (PTS)bookworm0.99.48+dfsg-1vulnerable
trixie1.2.0+dfsg-1vulnerable
forky, sid1.7.3+dfsg-0.1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cherrytreesource(unstable)(unfixed)

Notes

https://github.com/giuspen/cherrytree/issues/2846
https://github.com/giuspen/cherrytree/commit/1f9d04469c5171ea294fdd29a35dec37fb1c89a1

Search for package or bug name: Reporting problems