NoteGen arbitrary OS command execution via Tauri shell:allow-execute for bash/python

Summary

CVECVE-2026-17497
StatePUBLISHED
AssignerJFROG
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-26 15:16:27 UTC
Updated2026-07-26 15:16:27 UTC
DescriptionNoteGen 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.

Risk And Classification

Primary CVSS: v3.1 8.3 HIGH from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Problem Types: CWE-78 | CWE-276 | CWE-1249 | CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | CWE-1249 CWE-1249 Application-Level admin tool with inconsistent view of underlying operating system | CWE-276 CWE-276 Incorrect default permissions


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary8.3HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
3.1CNACVSS8.3HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Codexu NoteGen affected 0.32.0 semver Not specified

References

ReferenceSourceLinkTags
github.com/codexu/note-gen/commit/00064a4a8ec4177d51094ffb3e15bf0758009c1f [email protected] github.com
github.com/codexu/note-gen [email protected] github.com
github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0 [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Yuval Moravchick (en)

CNA: JFrog Security Research (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-06-08T00:00:00.000ZVulnerability discovered and PoC verified
CNA2026-07-20T00:00:00.000ZFix released in NoteGen v0.32.0 (shell capability lockdown)

Solutions

CNA: 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.

Exploits

CNA: A proof of concept obtains JavaScript execution in the webview (via malicious skill-driven chat XSS) and then calls window.__TAURI__.core.invoke('plugin:shell|execute', { program: 'bash', args: ['-c', '<command>'], ... }) to open Calculator and exfiltrate local files to an attacker-controlled server.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report