{"id":"CVE-2026-118692","summary":"CherryTree through 1.7.2 OS Command Injection via Custom Web Link Action","details":"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.","modified":"2026-11-17T06:45:53.607198536Z","published":"2026-10-28T21:11:19.351Z","related":["openSUSE-SU-2026:12525-1"],"database_specific":{"cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118692.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118692.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118692"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/cherrytree-through-1.7.2-os-command-injection-via-custom-web-link-action"},{"type":"REPORT","url":"https://github.com/giuspen/cherrytree/issues/2945"},{"type":"PACKAGE","url":"https://github.com/giuspen/cherrytree"},{"type":"ARTICLE","url":"https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_actions_others.cc#L381-L388"},{"type":"ARTICLE","url":"https://github.com/giuspen/cherrytree/blob/v1.7.2/src/ct/ct_misc_utils.cc#L227-L247"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/giuspen/cherrytree","events":[{"introduced":"0"},{"last_affected":"76bbccce9443aa68b45b369b70998df872cac7d0"}],"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"}]}}],"versions":["v1.7.2","v1.7.1","v1.7.0","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.0","v1.4.0","v1.3.0","v1.2.0","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.4","v1.0.3","v1.0.2","1.0.1","1.0.0","0.99.56","0.99.55","0.99.54","0.99.53","0.99.52","0.99.51","0.99.50","0.99.49","0.99.48","0.99.47","0.99.46","0.99.45","0.99.44","0.99.43","0.99.42","0.99.41","0.99.40","0.99.39","0.99.38","0.99.37","0.99.36","0.99.35","0.99.34","0.99.33","0.99.32","0.99.31","0.99.30","0.99.29","0.99.28","0.99.27","0.99.26","0.99.25","0.99.24","0.99.23","0.99.22","0.99.21","0.99.20","0.99.19","0.99.18","0.99.17","0.99.16","0.99.15","0.99.14","0.99.13","0.39.4","0.39.3","0.39.2","0.39.1","0.39.0","0.38.11","0.38.10","0.38.9","0.38.8","0.38.7","0.38.6","0.38.5","0.38.4","0.38.3","0.38.2","0.38.1","0.38.0","0.37.2","0.37.1","0.37.0","0.36.8","0.36.7","0.36.6","0.36.5","0.36.4","0.36.3","0.36.2","0.36.1","0.36.0","0.35.11","0.35.10","0.35.9","0.35.8","0.35.7","0.35.6","0.35.5","0.35.4","0.35.3","0.35.2","0.35.1","0.35.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118692.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}