# CVE-2026-126042: VNote 3.11.0 before 4.12.0 OS Command Injection via Tasks Magic Variables

- Severity: High 7.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2026-11-10T16:37:43.934Z
- Modified: 2026-11-10T21:19:23.837Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- vnotex VNote: from 3.11.0 before 4.12.0

## Every score

- VulnCheck: CVSS:4.0 7.3 High `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/vnotex/vnote/commit/0f5edd837d233a929d2a514a0e718d5d19c93918> (patch)
- <https://github.com/vnotex/vnote/releases/tag/v4.12.0> (release-notes)
- <https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L8-L24> (technical-description)
- <https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L50-L56> (technical-description)
- <https://r3vpwnx.space/research/vnote-tasks-cmdinjection/> (technical-description, third-party-advisory)
- <https://www.vulncheck.com/advisories/vnote-3.11.0-before-4.12.0-os-command-injection-via-tasks-magic-variables> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-126042](https://www.cve.org/CVERecord?id=CVE-2026-126042), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-126042](https://nvd.nist.gov/vuln/detail/CVE-2026-126042), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-126042 · Whole record: https://cve.day/CVE-2026-126042.json · Rebuilt by cve.day 2026-11-25T22:59:49.794Z
