{"id":"CVE-2026-118693","state":"PUBLISHED","title":"CherryTree 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.","publishedAt":"2026-10-28T21:11:20.057Z","updatedAt":"2026-10-28T21:11:20.057Z","severity":{"score":5.6,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["giuspen cherrytree"],"affected":[{"vendor":"giuspen","product":"cherrytree","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.7.2","versionType":"custom"}]}],"references":["https://github.com/giuspen/cherrytree/issues/2944","https://github.com/giuspen/cherrytree","https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_storage_xml.cc#L648-L692","https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_image.cc#L757-L767","https://www.vulncheck.com/advisories/cherrytree-through-1.7.2-local-file-disclosure-via-embedded-file-filename-path"],"weaknesses":["CWE-36"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118693.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118693","state":"PUBLISHED","datePublished":"2026-10-28T21:11:20.057Z","dateUpdated":"2026-10-28T21:11:20.057Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-28T17:31:29.498Z"},"containers":{"cna":{"title":"CherryTree through 1.7.2 Local File Disclosure via Embedded-File Filename Path","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"giuspen","product":"cherrytree","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.7.2","versionType":"custom"}]}],"references":[{"url":"https://github.com/giuspen/cherrytree/issues/2944","tags":["issue-tracking"],"name":"GitHub Issue #2944"},{"url":"https://github.com/giuspen/cherrytree","tags":["product"]},{"url":"https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_storage_xml.cc#L648-L692","tags":["technical-description"]},{"url":"https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_image.cc#L757-L767","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/cherrytree-through-1.7.2-local-file-disclosure-via-embedded-file-filename-path","name":"VulnCheck Advisory: CherryTree through 1.7.2 Local File Disclosure via Embedded-File Filename Path","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.6,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-36","lang":"en","description":"Absolute Path Traversal","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-28T21:11:20.057Z"},"datePublic":"2026-10-28T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:cherrytree_project:cherrytree:*:*:*:*:*:*:*:*","versionEndIncluding":"1.7.2"}]}]}],"credits":[{"lang":"en","value":"Mohammed Afnaan Ahmed","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}