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.
Published: 2026-07-26
Score: 8.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

NoteGen before 0.32.0 leaks a Tauri shell plugin with the shell:allow-execute capability for the binaries bash, python, and python3. These capabilities let JavaScript loaded in the application webview call plugin:shell|execute with any command line arguments. This allows an attacker to run arbitrary operating system commands with the privileges of the NoteGen process, providing direct remote code execution when a script is executed in the webview, such as through a XSS flaw.

Affected Systems

All releases of the NoteGen desktop application by codexu that precede 0.32.0 are affected. The issue is tied to the default Tauri capabilities that grant shell:allow-execute for bash, python, and python3. Installations using older builds that retain these defaults remain vulnerable until patched.

Risk and Exploitability

The CVSS score of 8.3 reflects a high impact vulnerability. The EPSS score is less than 1% and the vulnerability is not listed in the CISA KEV catalog, indicating a low observed exploitation probability. Nevertheless, the vulnerability can be triggered by any user who can execute a script in the webview, for example via an XSS within the application’s own code. Once exploited, the attacker can perform arbitrary actions on the user’s machine, compromising confidentiality, integrity, and availability.

Generated by OpenCVE AI on August 3, 2026 at 18:14 UTC.

Remediation

Vendor Solution

Upgrade to NoteGen 0.32.0 or later. The fix removes shell:allow-execute entries that permitted bash, python, and python3 with attacker-controlled arguments from the default Tauri capabilities, closing the webview-to-OS command execution path.


OpenCVE Recommended Actions

  • Upgrade NoteGen to version 0.32.0 or newer, where the shell:allow-execute entries for bash, python, and python3 have been removed.
  • If an upgrade cannot be performed immediately, edit the Tauri capabilities configuration to delete or disable the shell:allow-execute entries for bash, python, and python3, preventing the shell plugin from exposing those execution paths.
  • Apply a strict content security policy and fix any XSS vector that might allow JavaScript injection into the webview, thereby preventing the triggering of the shell plugin from malicious code.

Generated by OpenCVE AI on August 3, 2026 at 18:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 27 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 27 Jul 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Codexu
Codexu notegen
Vendors & Products Codexu
Codexu notegen

Sun, 26 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title NoteGen arbitrary OS command execution via Tauri shell:allow-execute for bash/python
Weaknesses CWE-1249
CWE-276
CWE-78
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: JFROG

Published:

Updated: 2026-07-27T14:49:03.628Z

Reserved: 2026-07-26T14:37:51.448Z

Link: CVE-2026-17497

cve-icon Vulnrichment

Updated: 2026-07-27T14:48:59.520Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-26T15:16:27.873

Modified: 2026-07-27T20:37:16.927

Link: CVE-2026-17497

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T18:15:04Z

Weaknesses
  • CWE-1249

    Application-Level Admin Tool with Inconsistent View of Underlying Operating System

  • CWE-276

    Incorrect Default Permissions

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')