4.7Medium
CVE-2026-118693CherryTree through 1.7.2 Local File Disclosure via Embedded-File Filename Path
Description
CherryTree through 1.7.2 contains a path traversal vulnerability in CtStorageXmlHelper::_create_image_from_xml that trusts unvalidated embedded-file 'filename' attributes in XML documents. Attackers can craft a .ctd, .ctz, or .ctx document with an absolute or ~/ filename and no data, so saving embeds files like ~/.ssh/id_rsa into the document.
Weakness (CWE):
CWE-36
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| cherrytree project | cherrytree | ≤ 1.7.2 | |
| giuspen | cherrytree | ≤ 1.7.2 |
References and patches
- GitHub Issue #2944 issue-tracking
- https://github.com/giuspen/cherrytree product
- https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_storage_xml.cc#L648-L692 technical-description
- https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_image.cc#L757-L767 technical-description
- VulnCheck Advisory: CherryTree through 1.7.2 Local File Disclosure via Embedded-File Filename Path third-party-advisory