OS command injection in VNote Tasks lets attackers run commands
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
VNote from 3.11.0 before 4.12.0 contains an OS command injection flaw (CWE-78) in its Tasks feature. Magic variables such as bufferName and selectedText are inserted into a shell command without escaping, so a note filename or text containing shell metacharacters can run commands. An attacker shares a notebook with such a note, and the commands run as the victim when the victim runs a task that uses these variables.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update VNote to version 4.12.0, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
- Fix · CNA VNote (vnotex) Fixed in 4.12.0
Timeline
- 2026-11-10 Threatist record created from CVE-2026-126042
- 2026-11-10 Alias added: GHSA-g98f-49h7-557q
- 2026-11-10 CISA SSVC decision points changed
- 2026-11-10 Priority changed: MEDIUM → LOW
References
More vnotex vulnerabilities
- TI-2026-73520 Cross-site scripting in VNote YAML frontmatter exposes local files CVSS 3.1HIGH 8.2
- TI-2026-73521 VNote argument injection enables command execution via note filenames CVSS 3.1HIGH 7.0
- TI-2024-26798 Code Execution Vulnerability via Local File Path Traversal in Vnote CVSS 3.1HIGH 8.8
- TI-2026-13044 vnotex vnote YAML Frontmatter markdownit.js cross site scripting CVSS 4.0MEDIUM 5.1
Sources
- CVE-2026-126042 · CVE Program
- CVE-2026-126042 · NVD
- FIRST EPSS
- GHSA-g98f-49h7-557q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences