Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-17497
PUBLISHED
More InfoOfficial Page
Assigner-JFROG
Assigner Org ID-48a46f29-ae42-4e1d-90dd-c1676c1e5e6d
View Known Exploited Vulnerability (KEV) details
Published At-26 Jul, 2026 | 14:38
Updated At-27 Jul, 2026 | 14:49
Rejected At-
▼CVE Numbering Authority (CNA)
NoteGen arbitrary OS command execution via Tauri shell:allow-execute for bash/python

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 Products
Vendor
codexu
Product
NoteGen
Collection URL
https://github.com/codexu/note-gen
Package Name
note-gen
Repo
git://github.com/codexu/note-gen
Program Files
  • src-tauri/capabilities/default.json
  • src-tauri/capabilities/desktop.json
Default Status
unaffected
Versions
Affected
  • From 0 before 0.32.0 (semver)
Problem Types
TypeCWE IDDescription
CWECWE-78CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CWECWE-1249CWE-1249 Application-Level admin tool with inconsistent view of underlying operating system
CWECWE-276CWE-276 Incorrect default permissions
Type: CWE
CWE ID: CWE-78
Description: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Type: CWE
CWE ID: CWE-1249
Description: CWE-1249 Application-Level admin tool with inconsistent view of underlying operating system
Type: CWE
CWE ID: CWE-276
Description: CWE-276 Incorrect default permissions
Metrics
VersionBase scoreBase severityVector
3.18.3HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Version: 3.1
Base score: 8.3
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
CAPEC-242CAPEC-242 Code Injection
CAPEC-549CAPEC-549 Local Execution of Code
CAPEC-17CAPEC-17 Using Malicious Files
CAPEC ID: CAPEC-242
Description: CAPEC-242 Code Injection
CAPEC ID: CAPEC-549
Description: CAPEC-549 Local Execution of Code
CAPEC ID: CAPEC-17
Description: CAPEC-17 Using Malicious Files
Solutions

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.

Configurations

Affects the NoteGen desktop application on a default installation. Exploitation requires the ability to run script in the NoteGen webview (for example via a separate XSS issue) and then invoke the Tauri shell execute API. No non-default capability configuration is required on affected versions.

Workarounds

Exploits

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.

Credits

finder
Yuval Moravchick
coordinator
JFrog Security Research
Timeline
EventDate
Vulnerability discovered and PoC verified2026-06-08 00:00:00
Fix released in NoteGen v0.32.0 (shell capability lockdown)2026-07-20 00:00:00
Event: Vulnerability discovered and PoC verified
Date: 2026-06-08 00:00:00
Event: Fix released in NoteGen v0.32.0 (shell capability lockdown)
Date: 2026-07-20 00:00:00
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/codexu/note-gen/commit/00064a4a8ec4177d51094ffb3e15bf0758009c1f
patch
https://github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0
vendor-advisory
https://github.com/codexu/note-gen
product
Hyperlink: https://github.com/codexu/note-gen/commit/00064a4a8ec4177d51094ffb3e15bf0758009c1f
Resource:
patch
Hyperlink: https://github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0
Resource:
vendor-advisory
Hyperlink: https://github.com/codexu/note-gen
Resource:
product
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Details not found