CVE-2026-46409: OpenYak local API: unauthenticated CSRF chain leads to Remote Code Execution
OpenYak is a local-first agent runtime for reliable tool-using models, with a desktop workspace built on top. Prior to version 1.1.3, the OpenYak desktop backend binds an HTTP API to 127.0.0.1:<random port> (commonly 19141) without server-side Origin validation, loopback authentication, or Content-Type enforcement, and with a wildcard CORS policy. Any webpage a user visits while OpenYak is running can issue cross-origin requests to this local server — the browser acts as a proxy into loopback, bypassing OS-level network isolation. Chained, this lets a malicious page execute arbitrary shell commands on the host (RCE) via the build agent with permissionpresets.bash=true, shut down the service, and exfiltrate chat history and account PII — with no user interaction beyond opening the page. Version 1.1.3 patches the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
OpenYakto a version that resolves this vulnerability.Fixed in 1.1.3
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46409?
CVE-2026-46409 has a critical severity rating of 9.6.
What types of vulnerabilities does CVE-2026-46409 include?
CVE-2026-46409 involves Code Injection and CSRF vulnerabilities.
How do I fix CVE-2026-46409?
To fix CVE-2026-46409, update to OpenYak version 1.1.3 or later.
What are the potential impacts of exploiting CVE-2026-46409?
Exploiting CVE-2026-46409 can lead to remote code execution due to unauthenticated CSRF.
In which software component is CVE-2026-46409 found?
CVE-2026-46409 is found in the OpenYak desktop backend.