{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"vnotex/vnote","product":"VNote","source":"CNA: VulnCheck","vendor":"vnotex","versions":[{"lessThan":"4.12.0","status":"affected","version":"3.11.0","versionType":"semver"}]}],"cveId":"CVE-2026-126042","cwes":["CWE-78"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":7.3,"severity":"high","source":"CNA: VulnCheck","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","version":"4.0"},{"score":7,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"score":7.3,"severity":"high","source":"NVD: disclosure@vulncheck.com","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":7,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1794331051430,"publishedAt":1794328663934,"references":[{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/vnotex/vnote/commit/0f5edd837d233a929d2a514a0e718d5d19c93918"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/vnotex/vnote/releases/tag/v4.12.0"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L8-L24"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L50-L56"},{"source":"CNA: VulnCheck","tags":["third-party-advisory","technical-description"],"url":"https://r3vpwnx.space/research/vnote-tasks-cmdinjection/"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/vnote-3.11.0-before-4.12.0-os-command-injection-via-tasks-magic-variables"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L50-L56"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L8-L24"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/vnotex/vnote/commit/0f5edd837d233a929d2a514a0e718d5d19c93918"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/vnotex/vnote/releases/tag/v4.12.0"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://r3vpwnx.space/research/vnote-tasks-cmdinjection/"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/vnote-3.11.0-before-4.12.0-os-command-injection-via-tasks-magic-variables"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/vnotex/vnote/commit/0f5edd837d233a929d2a514a0e718d5d19c93918"}],"revision":"f9994a2dfb51d2d24b47826196db4bfc5b4b16b17df1ef341fd1c00ab677d0a4","sources":[{"modifiedAt":1794328663934,"name":"CNA: VulnCheck","retrievedAt":1794330664833,"url":"https://www.cve.org/CVERecord?id=CVE-2026-126042"},{"modifiedAt":1794331051430,"name":"NVD","retrievedAt":1794336295703,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126042"}],"ssvc":null,"status":"published","title":"VNote 3.11.0 before 4.12.0 OS Command Injection via Tasks Magic Variables","updatedAt":1794336295703}