8.3high
NoteGen arbitrary OS command execution via Tauri shell:allow-execute for bash/python
- Severity
- 8.3high CVSS:3.1 by JFROG
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- JFROG
Description
NoteGen before 0.32.0 grants the Tauri shell plugin shell:allow-execute capability for bash, python, and python3 with arbitrary arguments in the default desktop capabilities. JavaScript running in the application webview can therefore invoke plugin:shell|execute to run attacker-controlled operating system commands with the privileges of the NoteGen process. In combination with script execution in the webview (for example via chat XSS), this enables full remote code execution on the user's machine.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| note-gen | before 0.32.0 | CVE List |
| notegen notegen | before 0.32.0 | NVD |
Classification
What each source says
CVE List
NoteGen before 0.32.0 grants the Tauri shell plugin shell:allow-execute capability for bash, python, and python3 with arbitrary arguments in the default desktop capabilities. JavaScript running in the application webview can therefore invoke plugin:shell|execute to run attacker-controlled operating system commands with the privileges of the NoteGen process. In combination with script execution in the webview (for example via chat XSS), this enables full remote code execution on the user's machine.
NVD (es)
NoteGen anterior a la versión 0.32.0 otorga al plugin de shell de Tauri la capacidad shell:allow-execute para bash, python y python3 con argumentos arbitrarios en las capacidades de escritorio predeterminadas. JavaScript ejecutándose en la webview de la aplicación puede, por lo tanto, invocar plugin:shell|execute para ejecutar comandos del sistema operativo controlados por el atacante con los privilegios del proceso de NoteGen. En combinación con la ejecución de scripts en la webview (por ejemplo, a través de XSS en el chat), esto permite la ejecución remota de código completa en la máquina del usuario.
References
| https://github.com/codexu/note-gen/commit/00064a4a8ec4177d51094ffb3e15bf0758009c1f | patch | |
| https://github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0 | product, release-notes, vendor-advisory | |
| https://github.com/codexu/note-gen | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-17497 changed 2026-07-27 | CVE Terms of Use |
| NVD | CVE-2026-17497 changed 2026-10-24 | Public domain |