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

- Severity: Medium 5.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-11-28T17:05:36.084Z
- Modified: 2026-11-28T17:16:44.540Z
- Weaknesses: CWE-184
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- giuspen cherrytree: up to 1.7.3

## Every score

- VulnCheck: CVSS:4.0 5.7 Medium `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`
- VulnCheck: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/giuspen/cherrytree/commit/1f9d04469c5171ea294fdd29a35dec37fb1c89a1> (patch)
- <https://github.com/giuspen/cherrytree/blob/v1.7.3/src/ct/ct_image.cc#L528-L561> (technical-description)
- <https://github.com/giuspen/cherrytree/issues/2846> (issue-tracking, related)
- <https://www.vulncheck.com/advisories/cherrytree-through-1.7.3-local-file-read-via-latex-filter-bypass> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-138299](https://www.cve.org/CVERecord?id=CVE-2026-138299), CVE Terms of Use, modified 2026-11-28
- NVD: [CVE-2026-138299](https://nvd.nist.gov/vuln/detail/CVE-2026-138299), Public domain, modified 2026-11-28

---

Page: https://cve.day/CVE-2026-138299 · Whole record: https://cve.day/CVE-2026-138299.json · Rebuilt by cve.day 2026-11-28T17:17:18.132Z
