---
id: CVE-2026-118693
title: CherryTree through 1.7.2 Local File Disclosure via Embedded-File Filename Path
summary: >-
  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 docume…
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-36
vendor: giuspen
product: cherrytree
affected:
  - cherrytree <= 1.7.2
published: '2026-10-28'
updated: '2026-10-28'
sourceUpdated: '2026-10-28T21:11:20.057Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-118693'
references:
  - url: 'https://github.com/giuspen/cherrytree/issues/2944'
    label: 'GitHub Issue #2944'
  - url: 'https://github.com/giuspen/cherrytree'
  - url: >-
      https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_storage_xml.cc#L648-L692
  - url: >-
      https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_image.cc#L757-L767
  - url: >-
      https://www.vulncheck.com/advisories/cherrytree-through-1.7.2-local-file-disclosure-via-embedded-file-filename-path
    label: >-
      VulnCheck Advisory: CherryTree through 1.7.2 Local File Disclosure via
      Embedded-File Filename Path
tags:
  - cve.org
epss: 0.00141
epssPercentile: 0.0344
ingestedAt: '2026-10-30T21:09:21.615Z'
---

## Overview

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

- `cherrytree <= 1.7.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
