{"id":"CVE-2026-126042","aliases":["CVE-2026-126042"],"related":[],"kind":"vulnerability","state":"published","title":"VNote 3.11.0 before 4.12.0 OS Command Injection via Tasks Magic Variables","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-10T16:37:43.934Z","modified":"2026-11-10T21:19:23.837Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":7.3,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"3.11.0","fixed":"4.12.0","status":"affected"}],"vendor":"vnotex","product":"VNote","repo":"https://github.com/vnotex/vnote","source":"cvelist"}],"references":[{"url":"https://github.com/vnotex/vnote/commit/0f5edd837d233a929d2a514a0e718d5d19c93918","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vnotex/vnote/releases/tag/v4.12.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L8-L24","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L50-L56","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://r3vpwnx.space/research/vnote-tasks-cmdinjection/","tags":["technical-description","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/vnote-3.11.0-before-4.12.0-os-command-injection-via-tasks-magic-variables","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Dilanka Kaushal Hewage (r3vpwnx)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-10T21:04:17.115Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126042","url":"https://www.cve.org/CVERecord?id=CVE-2026-126042","licence":"CVE Terms of Use","modified":"2026-11-10T21:04:29.318Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126042","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126042","licence":"Public domain","modified":"2026-11-10T21:19:23.837Z"}],"updatedAt":"2026-11-25T22:59:49.794Z","epss":{"score":0.00679,"percentile":0.53619,"date":"2026-12-01T12:00:22.000Z"}}