{"api_version":"1","generated_at":"2026-07-26T18:39:07+00:00","cve":"CVE-2026-17497","urls":{"html":"https://cve.report/CVE-2026-17497","api":"https://cve.report/api/cve/CVE-2026-17497.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-17497","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-17497"},"summary":{"title":"NoteGen arbitrary OS command execution via Tauri shell:allow-execute for bash/python","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.","state":"PUBLISHED","assigner":"JFROG","published_at":"2026-07-26 15:16:27","updated_at":"2026-07-26 15:16:27"},"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"],"metrics":[{"version":"3.1","source":"reefs@jfrog.com","type":"Secondary","score":"8.3","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","baseScore":8.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"8.3","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/codexu/note-gen/commit/00064a4a8ec4177d51094ffb3e15bf0758009c1f","name":"https://github.com/codexu/note-gen/commit/00064a4a8ec4177d51094ffb3e15bf0758009c1f","refsource":"reefs@jfrog.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/codexu/note-gen","name":"https://github.com/codexu/note-gen","refsource":"reefs@jfrog.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0","name":"https://github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0","refsource":"reefs@jfrog.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-17497","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-17497","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"codexu","product":"NoteGen","version":"affected 0.32.0 semver","platforms":[]}],"timeline":[{"source":"CNA","time":"2026-06-08T00:00:00.000Z","lang":"en","value":"Vulnerability discovered and PoC verified"},{"source":"CNA","time":"2026-07-20T00:00:00.000Z","lang":"en","value":"Fix released in NoteGen v0.32.0 (shell capability lockdown)"}],"solutions":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"workarounds":[],"exploits":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"credits":[{"source":"CNA","value":"Yuval Moravchick","lang":"en"},{"source":"CNA","value":"JFrog Security Research","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://github.com/codexu/note-gen","defaultStatus":"unaffected","packageName":"note-gen","product":"NoteGen","programFiles":["src-tauri/capabilities/default.json","src-tauri/capabilities/desktop.json"],"repo":"git://github.com/codexu/note-gen","vendor":"codexu","versions":[{"lessThan":"0.32.0","status":"affected","version":"0","versionType":"semver"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>"}],"value":"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."}],"credits":[{"lang":"en","type":"finder","value":"Yuval Moravchick"},{"lang":"en","type":"coordinator","value":"JFrog Security Research"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>"}],"value":"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."}],"exploits":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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', '&lt;command&gt;'], ... }) to open Calculator and exfiltrate local files to an attacker-controlled server.</p>"}],"value":"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."}],"impacts":[{"capecId":"CAPEC-242","descriptions":[{"lang":"en","value":"CAPEC-242 Code Injection"}]},{"capecId":"CAPEC-549","descriptions":[{"lang":"en","value":"CAPEC-549 Local Execution of Code"}]},{"capecId":"CAPEC-17","descriptions":[{"lang":"en","value":"CAPEC-17 Using Malicious Files"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1249","description":"CWE-1249 Application-Level admin tool with inconsistent view of underlying operating system","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-276","description":"CWE-276 Incorrect default permissions","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-26T14:38:08.960Z","orgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","shortName":"JFROG"},"references":[{"name":"Fix: remove unrestricted shell execute for bash/python; harden skill script execution","tags":["patch"],"url":"https://github.com/codexu/note-gen/commit/00064a4a8ec4177d51094ffb3e15bf0758009c1f"},{"name":"NoteGen v0.32.0 release","tags":["vendor-advisory"],"url":"https://github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0"},{"name":"NoteGen repository","tags":["product"],"url":"https://github.com/codexu/note-gen"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>"}],"value":"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."}],"source":{"discovery":"EXTERNAL"},"timeline":[{"lang":"en","time":"2026-06-08T00:00:00.000Z","value":"Vulnerability discovered and PoC verified"},{"lang":"en","time":"2026-07-20T00:00:00.000Z","value":"Fix released in NoteGen v0.32.0 (shell capability lockdown)"}],"title":"NoteGen arbitrary OS command execution via Tauri shell:allow-execute for bash/python","x_generator":{"engine":"Vulnogram 1.0.4"}}},"cveMetadata":{"assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","assignerShortName":"JFROG","cveId":"CVE-2026-17497","datePublished":"2026-07-26T14:38:08.960Z","dateReserved":"2026-07-26T14:37:51.448Z","dateUpdated":"2026-07-26T14:38:08.960Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-26 15:16:27","lastModifiedDate":"2026-07-26 15:16:27","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"],"metrics":{"cvssMetricV31":[{"source":"reefs@jfrog.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","baseScore":8.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.6,"impactScore":6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"17497","Ordinal":"1","Title":"NoteGen arbitrary OS command execution via Tauri shell:allow-exe","CVE":"CVE-2026-17497","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"17497","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"NoteGen arbitrary OS command execution via Tauri shell:allow-exe"}]}}}