{"id":"CVE-2026-126042","state":"PUBLISHED","title":"VNote 3.11.0 before 4.12.0 OS Command Injection via Tasks Magic Variables","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.","publishedAt":"2026-11-10T16:37:43.934Z","updatedAt":"2026-11-10T21:04:29.318Z","severity":{"score":7.3,"label":"High","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["vnotex VNote"],"affected":[{"vendor":"vnotex","product":"VNote","packageURL":"pkg:github/vnotex/vnote","defaultStatus":"unaffected","versions":[{"version":"3.11.0","status":"affected","lessThan":"4.12.0","versionType":"semver"}],"repo":"https://github.com/vnotex/vnote"}],"references":["https://github.com/vnotex/vnote/commit/0f5edd837d233a929d2a514a0e718d5d19c93918","https://github.com/vnotex/vnote/releases/tag/v4.12.0","https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L8-L24","https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L50-L56","https://r3vpwnx.space/research/vnote-tasks-cmdinjection/","https://www.vulncheck.com/advisories/vnote-3.11.0-before-4.12.0-os-command-injection-via-tasks-magic-variables"],"weaknesses":["CWE-78"],"ingestedAt":"2026-11-10T21:18:04.431Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/126xxx/CVE-2026-126042.json","commit":"c5a01f083f4f1bb59d77be7743a509cc9f9b04ca","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-126042","state":"PUBLISHED","datePublished":"2026-11-10T16:37:43.934Z","dateUpdated":"2026-11-10T21:04:29.318Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-10T16:35:32.223Z"},"containers":{"cna":{"title":"VNote 3.11.0 before 4.12.0 OS Command Injection via Tasks Magic Variables","descriptions":[{"lang":"en","value":"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":[{"vendor":"vnotex","product":"VNote","packageURL":"pkg:github/vnotex/vnote","defaultStatus":"unaffected","versions":[{"version":"3.11.0","status":"affected","lessThan":"4.12.0","versionType":"semver"}],"repo":"https://github.com/vnotex/vnote"}],"references":[{"url":"https://github.com/vnotex/vnote/commit/0f5edd837d233a929d2a514a0e718d5d19c93918","tags":["patch"]},{"url":"https://github.com/vnotex/vnote/releases/tag/v4.12.0","tags":["release-notes"],"name":"VNote v4.12.0 Release Notes"},{"url":"https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L8-L24","tags":["technical-description"]},{"url":"https://github.com/vnotex/vnote/blob/551dfd86b73ce6d93e5403296b069219cb668dc2/src/core/services/shellexecution.cpp#L50-L56","tags":["technical-description"]},{"url":"https://r3vpwnx.space/research/vnote-tasks-cmdinjection/","tags":["third-party-advisory","technical-description"]},{"url":"https://www.vulncheck.com/advisories/vnote-3.11.0-before-4.12.0-os-command-injection-via-tasks-magic-variables","name":"VulnCheck Advisory: VNote 3.11.0 before 4.12.0 OS Command Injection via Tasks Magic Variables","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.3,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-10T16:37:43.934Z"},"datePublic":"2026-10-29T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:vnote_project:vnote:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11.0","versionEndExcluding":"4.12.0"}]}]}],"credits":[{"lang":"en","value":"Dilanka Kaushal Hewage (r3vpwnx)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-10T21:04:17.115308Z","id":"CVE-2026-126042","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-10T21:04:29.318Z"}}]}}}