{"id":"CVE-2026-118692","state":"PUBLISHED","title":"CherryTree through 1.7.2 OS Command Injection via Custom Web Link Action","description":"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 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.","publishedAt":"2026-10-28T21:11:19.351Z","updatedAt":"2026-10-28T21:11:19.351Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/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/2945","https://github.com/giuspen/cherrytree","https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_actions_others.cc#L381-L388","https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_misc_utils.cc#L227-L247","https://www.vulncheck.com/advisories/cherrytree-through-1.7.2-os-command-injection-via-custom-web-link-action"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118692.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118692","state":"PUBLISHED","datePublished":"2026-10-28T21:11:19.351Z","dateUpdated":"2026-10-28T21:11:19.351Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-28T17:31:29.498Z"},"containers":{"cna":{"title":"CherryTree through 1.7.2 OS Command Injection via Custom Web Link Action","descriptions":[{"lang":"en","value":"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 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."}],"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/2945","tags":["issue-tracking"],"name":"GitHub Issue #2945"},{"url":"https://github.com/giuspen/cherrytree","tags":["product"]},{"url":"https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_actions_others.cc#L381-L388","tags":["technical-description"]},{"url":"https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_misc_utils.cc#L227-L247","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/cherrytree-through-1.7.2-os-command-injection-via-custom-web-link-action","name":"VulnCheck Advisory: CherryTree through 1.7.2 OS Command Injection via Custom Web Link Action","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:H/VA:H/SC:N/SI:N/SA:N","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-28T21:11:19.351Z"},"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"}}}}}