Technical impact
CherryTree up to version 1.7.2 contains a path traversal weakness in the CtStorageXmlHelper::_create_image_from_xml routine that unconditionally trusts the embedded-file 'filename' attributes embedded in XML documents. An attacker can craft a malicious .ctd, .ctz, or .ctx file that includes an absolute or ~ path and no actual file data, causing the application to read and embed secrets such as a user's ~/.ssh/id_rsa file. The result is sensitive local content being exposed to anyone able to supply such a document.
Affected Systems
The CherryTree Project solutions are affected, specifically the desktop editor CherryTree. All releases through version 1.7.2 are vulnerable; newer releases after 1.7.2, such as 1.7.3 and later, are not affected.
Risk and Exploitability
The CVSS score of 5.6 reflects moderate risk; the EPSS score is not available and the vulnerability is not listed in CISA KEV. Exploitation requires delivery of a crafted document to a target that opens it, so the attack vector is local or requires user interaction with a malicious file. While no public exploitation has been reported, the lack of a network‑bound vector limits widespread use, yet the impact of exposing local secrets is still significant for targeted attacks.