4.7Medium

CVE-2026-118693CherryTree through 1.7.2 Local File Disclosure via Embedded-File Filename Path

giuspen cherrytree Published: (21 days ago)

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

VendorProductVersions
cherrytree project cherrytree ≤ 1.7.2
giuspen cherrytree ≤ 1.7.2

References and patches