Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/giuspen/cherrytree/blob/v1.7.3/src/ct/ct_image.cc#L528-L561
- https://github.com/giuspen/cherrytree/commit/1f9d04469c5171ea294fdd29a35dec37fb1
- https://github.com/giuspen/cherrytree/issues/2846
- https://www.vulncheck.com/advisories/cherrytree-through-1.7.3-local-file-read-vi
FAQ
What is CVE-2026-138299?
CVE-2026-138299 is a vulnerability with a CVSS score of 4.7 (MEDIUM). 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 expa...
How severe is CVE-2026-138299?
CVE-2026-138299 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-138299?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.