{"id":"UBUNTU-CVE-2026-118693","details":"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.","modified":"2026-10-29T20:04:32.171393111Z","published":"2026-10-29T00:00:00Z","upstream":["CVE-2026-118693"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-118693"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-118693"},{"type":"REPORT","url":"https://github.com/giuspen/cherrytree"},{"type":"REPORT","url":"https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_image.cc#L757-L767"},{"type":"REPORT","url":"https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_storage_xml.cc#L648-L692"},{"type":"REPORT","url":"https://github.com/giuspen/cherrytree/issues/2944"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/cherrytree-through-1.7.2-local-file-disclosure-via-embedded-file-filename-path"}],"affected":[{"package":{"name":"cherrytree","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/cherrytree?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.35.10-1","0.35.11-1","0.36.2-1","0.36.3-1","0.36.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"cherrytree","binary_version":"0.36.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118693.json"}},{"package":{"name":"cherrytree","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/cherrytree?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.37.6-1","0.37.6-1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"cherrytree","binary_version":"0.37.6-1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118693.json"}},{"package":{"name":"cherrytree","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cherrytree?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.99.40+dfsg-1","0.99.43+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"cherrytree","binary_version":"0.99.43+dfsg-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118693.json"}},{"package":{"name":"cherrytree","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/cherrytree?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.99.48+dfsg-1","1.0.2+dfsg-1","1.0.2+dfsg-1build2","1.0.2+dfsg-1build3","1.1.2+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"cherrytree","binary_version":"1.1.2+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118693.json"}},{"package":{"name":"cherrytree","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/cherrytree?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0+dfsg-1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.0+dfsg-1build2","binary_name":"cherrytree"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118693.json"}},{"package":{"name":"cherrytree","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/cherrytree?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0+dfsg-1build1","1.2.0+dfsg-1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.0+dfsg-1build2","binary_name":"cherrytree"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118693.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}