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.
Published: 2026-10-28
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: Arbitrary OS command execution
Action: Patch Immediately
AI Analysis

Impact

CherryTree versions up to 1.7.2 contain an OS command injection flaw in the CtActions::link_clicked handler. When the Non‑default Custom Web Link Clicked Action is enabled, the link URL is passed directly to std::system without proper sanitisation. An attacker who can embed a crafted web link in a document can execute arbitrary shell commands, such as $(...), backticks, or semicolons, when a victim clicks the link. The result is uncontrolled command execution with the privileges of the currently logged‑in user.

Affected Systems

The vulnerability exists in the CherryTree application distributed by the CherryTree Project. All releases up to and including version 1.7.2 are affected. There is no version information beyond 1.7.2 in the CVE, so any earlier releases before the bug was discovered are also potentially vulnerable. The affected systems therefore include any computer running CherryTree 1.7.2 or earlier.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity. EPSS data is not available, so the current exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog, suggesting no known large‑scale exploitation to date. Exploitation requires an attacker to supply a malicious document with a crafted link and the victim to click that link, making it a user‑interactive attack. In practice, the risk is elevated for environments where users open documents from untrusted sources or where the Custom Web Link Clicked Action is enabled.

Generated by OpenCVE AI on October 28, 2026 at 22:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade CherryTree to the latest version released after 1.7.2, which removes the unfiltered std::system call.
  • If immediate upgrade is not feasible, disable the Non‑default Custom Web Link Clicked Action or revert to the default action to prevent the link handler from executing system commands.
  • Scan all documents for embedded malicious links and remove or cleanse them before sharing with users.

Generated by OpenCVE AI on October 28, 2026 at 22:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
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.
Title CherryTree through 1.7.2 OS Command Injection via Custom Web Link Action
First Time appeared Cherrytree Project
Cherrytree Project cherrytree
Weaknesses CWE-78
CPEs cpe:2.3:a:cherrytree_project:cherrytree:*:*:*:*:*:*:*:*
Vendors & Products Cherrytree Project
Cherrytree Project cherrytree
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.1, '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'}


Subscriptions

Cherrytree Project Cherrytree
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-28T21:11:19.351Z

Reserved: 2026-10-28T17:31:29.498Z

Link: CVE-2026-118692

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T22:17:13.387

Modified: 2026-10-28T22:17:13.387

Link: CVE-2026-118692

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T22:30:12Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')