High severity7.0NVD Advisory· Published Nov 10, 2026· Updated Nov 10, 2026
CVE-2026-126042
CVE-2026-126042
Description
VNote 3.11.0 before 4.12.0 contains an OS command injection vulnerability in its Tasks feature: magic variables such as ${bufferName} and ${selectedText} are substituted into a shell command string without escaping. Attackers can share a notebook containing a note whose filename or text includes shell metacharacters such as $(...), backticks, ; or |, executing commands as the victim when they run a task referencing these variables.
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cppnvd
- github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cppnvd
- github.com/vnotex/vnote/commit/0f5edd837d233a929d2a514a0e718d5d19c93918nvd
- github.com/vnotex/vnote/releases/tag/v4.12.0nvd
- r3vpwnx.space/research/vnote-tasks-cmdinjection/nvd
- www.vulncheck.com/advisories/vnote-3.11.0-before-4.12.0-os-command-injection-via-tasks-magic-variablesnvd
News mentions
0No linked articles in our index yet.