{"id":"CVE-2026-118692","title":"CherryTree through 1.7.2 OS Command Injection via Custom Web Link Action","summary":"CherryTree through 1.7.2 contains an OS command injection vulnerability in CtActions::link_clicked that allows attackers to execute commands by embedding shell metacharacters in web link URLs. When the non-default Custom Web Link Clicked…","severity":"high","cvss":7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-78"],"vendor":"giuspen","product":"cherrytree","affected":["cherrytree <= 1.7.2"],"published":"2026-10-28","updated":"2026-10-28","sourceUpdated":"2026-10-28T21:11:19.351Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-118692","references":[{"url":"https://github.com/giuspen/cherrytree/issues/2945","label":"GitHub Issue #2945"},{"url":"https://github.com/giuspen/cherrytree"},{"url":"https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_actions_others.cc#L381-L388"},{"url":"https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_misc_utils.cc#L227-L247"},{"url":"https://www.vulncheck.com/advisories/cherrytree-through-1.7.2-os-command-injection-via-custom-web-link-action","label":"VulnCheck Advisory: CherryTree through 1.7.2 OS Command Injection via Custom Web Link Action"}],"tags":["cve.org"],"epss":0.00581,"epssPercentile":0.4775,"ingestedAt":"2026-10-30T21:09:21.615Z","slug":"CVE-2026-118692","body":"## Overview\n\nCherryTree through 1.7.2 contains an OS command injection vulnerability in CtActions::link_clicked that allows attackers to execute commands by embedding shell metacharacters in web link URLs. When the non-default Custom Web Link Clicked Action option is enabled, attackers can supply crafted documents whose links pass $(...), backticks, or semicolons unquoted to std::system, running commands as the victim on click.\n\n## Affected\n\n- `cherrytree <= 1.7.2`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":38.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}