Vulnerability · Published Oct 13, 2026 · Assigned by GitHub_M
CVE-2026-86022VNote: Argument injection to arbitrary command execution via crafted note filename in external-program handling
High 7.0
In plain English
A high-severity OS command injection in vnote from vnotex. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities).
Official description
VNote is a note-taking platform. Prior to 4.3.0, SessionConfig::ExternalProgram::fetchCommand wraps a note path in double quotes and substitutes it into a command string that QProcess::start(const QString&) reparses into arguments through ProcessUtils::startDetached. The automatic path in src/controllers/viewareacontroller.cpp and the Open With path in src/controllers/notebooknodecontroller.cpp both reach this sink. On Linux and macOS, an attacker-controlled double quote in a POSIX note filename can terminate the quoted path and add arguments to the victim's configured external program. If the configured program supports an argument that executes commands, such as the vim or gvim -c option, the injected arguments can execute arbitrary commands as the user. This issue is fixed in version 4.3.0.
Affected products (as reported)
Weakness: CWE-78, CWE-88 · Vector: 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/security/advisories/GHSA-6m2r-wm6v-c8qp x_refsource_CONFIRM
- https://github.com/vnotex/vnote/commit/4abaacdb8dd110d279f3290ad7e69f20b2604602 x_refsource_MISC
- https://github.com/vnotex/vnote/releases/tag/v4.3.0 x_refsource_MISC