SecurityContext

CVE-2026-118692: CherryTree - Command Injection

  • Cve: CVE-2026-118692
  • Name: CherryTree - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary OS commands as the victim, potentially compromising the system fully.
  • Remediation: Update to the latest version beyond 1.7.2.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.0085
  • Epss percentile: 0.58927
  • Assignee: [email protected]
  • Published at: 2026-10-28T22:17:13Z
  • Age in days: 27
  • Modified at: 2026-11-03T00:17:18Z
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-118692
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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://github.com/giuspen/cherrytree/issues/2945
https://www.vulncheck.com/advisories/cherrytree-through-1.7.2-os-command-injection-via-custom-web-link-action

Products

ProductAffectedPlatform boundSourcesUrl
cherrytree_project:cherrytree<= 1.7.2nocna/v1/products/cherrytree_project/cherrytree

Projects

RepositoryLink kindsIndexedUrl
giuspen/cherrytreeissuesyes/v1/repositories/giuspen/cherrytree

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts