CVE-2026-118692

CherryTree through 1.7.2 OS Command Injection via Custom Web Link Action

Published Oct 28, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 16, 2026, 9:20 PM
Reserved
Oct 28, 2026, 5:31 PM
Status
Deferred
Published
Oct 28, 2026, 10:17 PM
Modified
Nov 3, 2026, 12:17 AM