You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
command injection in the custom web-link action #2945
Affected product:
Product: CherryTree
Vendor: giuspen
repository: https://github.com/giuspen/cherrytree
Version tested: 1.7.2
Tested on: Debian 13
Platforms: Linux and macOS are affected. Windows is untested.
Summary
When the optional “Custom Web Link Clicked Action” is enabled, the URL from a link in the document is placed unquoted into the user’s command template and executed through std::system(). A crafted link runs shell commands on click.
Preconditions
The user has enabled the custom web-link command (off by default, weblinkCustomOn = false) and clicks the link. This limits real-world exposure.
Suggested fix
Run the command with g_spawn_async and an argument vector, or quote with g_shell_quote as the file-link code does, and restrict the scheme to http/https.
Activity
fixed command injection with custom link actions (@r3vpwnx, @Afnaan-A…
carnil commentedon Nov 1, 2026
CVE-2026-118692 seems to be assigned for this issue.
giuspen commentedon Nov 17, 2026
fixed in released version v1.7.3