Skip to content
Heist/ feed
Back to feed
Medium

CherryTree through 1.7.2 Local File Disclosure via Embedded-File Filename Path

Type: advisorySources: Official CVE List

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.

Products
cherrytree
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-118693
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 01:42 UTC · Revision 1

Source evidence

CherryTree through 1.7.2 Local File Disclosure via Embedded-File Filename Path

core-cve · Original source

Published 28 Oct 2026, 21:11 UTC

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.

cve:CVE-2026-118693

cherrytree

Fixed versions: Not specified

Complete source record
{
  "id": "89b818a43b70b30f2529d264b5303337ba6f2c6c2e434f0752fa1b6e205595a1",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-118693",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 document with an absolute or ~/ filename and no data, so saving embeds files like ~/.ssh/id_rsa into the document.",
    "evidence": "cve:CVE-2026-118693",
    "products": [
      {
        "name": {
          "value": "cherrytree",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-118693",
      "aliases": [
        "CVE-2026-118693"
      ],
      "metrics": [
        {
          "format": "CVSS",
          "cvssV4_0": {
            "version": "4.0",
            "baseScore": 5.6,
            "attackVector": "LOCAL",
            "baseSeverity": "MEDIUM",
            "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",
            "userInteraction": "ACTIVE",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "privilegesRequired": "NONE",
            "subIntegrityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH"
          }
        },
        {
          "format": "CVSS",
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 4.7,
            "attackVector": "LOCAL",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N",
            "integrityImpact": "NONE",
            "userInteraction": "REQUIRED",
            "attackComplexity": "HIGH",
            "availabilityImpact": "NONE",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "HIGH"
          }
        }
      ],
      "affected": [
        {
          "vendor": "giuspen",
          "product": "cherrytree",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "versionType": "custom",
              "lessThanOrEqual": "1.7.2"
            }
          ],
          "defaultStatus": "unaffected"
        }
      ],
      "modified": "2026-10-28T21:11:20.057Z",
      "provider": "cve",
      "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"
      ],
      "provider_metadata": {
        "cna": {
          "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
          "shortName": "VulnCheck",
          "dateUpdated": "2026-10-28T21:11:20.057Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-118693",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 491718,
  "published_at": "2026-10-28T21:11:20.057+00:00"
}