{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.7.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.7.2"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "76bbccce9443aa68b45b369b70998df872cac7d0"
            }
          ],
          "repo": "https://github.com/giuspen/cherrytree",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-36"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118693.json"
  },
  "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.",
  "id": "CVE-2026-118693",
  "modified": "2026-11-05T02:30:32.656485656Z",
  "published": "2026-10-28T21:11:20.057Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118693.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118693"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/cherrytree-through-1.7.2-local-file-disclosure-via-embedded-file-filename-path"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/giuspen/cherrytree/issues/2944"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/giuspen/cherrytree"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_image.cc#L757-L767"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_storage_xml.cc#L648-L692"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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": "CVSS_V4"
    }
  ],
  "summary": "CherryTree through 1.7.2 Local File Disclosure via Embedded-File Filename Path"
}