CVE-2026-46409

OpenYak local API: unauthenticated CSRF chain leads to Remote Code Execution

Published Aug 7, 2026 CVSS 3.1 · 9.6 Critical EPSS < 1% KEV · Not listed
Description
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 `permission_presets.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.

Analysis

AI-generated

Technical impact

OpenYak’s desktop backend exposes a local HTTP API without server‑side origin checks, loopback authentication, content‑type enforcement, or proper CORS restrictions. The API allows any web page displayed in the user’s browser to send cross‑origin requests to 127.0.0.1, effectively letting the browser act as a relay to the local server. According to the advisory, a malicious page can chain this capability to run arbitrary shell commands on the host through the build agent’s bash execution, shut down the service, and exfiltrate chat logs and personal data. This flaw thus provides an attacker with remote code execution privileges and full compromise of the host system, impacting confidentiality, integrity, and availability.

Affected Systems

Customers using the openyak product before version 1.1.3 are vulnerable. The flaw exists in the desktop backend component that listens on a random localhost port, typically 19141. Any user running a pre‑1.1.3 instance while browsing the Internet could be affected, regardless of the OS or other security controls.

Risk and Exploitability

The advisory assigns a CVSS score of 9.6, indicating critical severity. The EPSS is not provided, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires that a user visit a malicious web page while the vulnerable OpenYak instance is running; no direct network access is needed, and no user interaction beyond loading the page is required. Attackers can leverage the lack of origin validation to issue authenticated requests to the local API and trigger arbitrary command execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenYak to version 1.1.3 or later, which implements proper origin checks, authentication, and CORS restrictions on the local API.
  • If an immediate upgrade is not feasible, consider disabling the OpenYak HTTP API or configuring the desktop backend to listen only on secure, non‑exposed interfaces.
  • Until the upgrade is performed, avoid browsing untrusted web content while OpenYak is running or use a browser that blocks cross‑origin requests to localhost.

Generated by OpenCVE AI on August 7, 2026 at 23:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openyak
Openyak openyak
Vendors & Products Openyak
Openyak openyak
Type Values Removed Values Added
Description 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 `permission_presets.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.
Title OpenYak local API: unauthenticated CSRF chain leads to Remote Code Execution
Weaknesses CWE-306
CWE-346
CWE-352
CWE-94
CWE-942
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

  • CWE-346

    Origin Validation Error

  • CWE-352

    Cross-Site Request Forgery (CSRF)

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

  • CWE-942

    Permissive Cross-domain Security Policy with Untrusted Domains

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 11, 2026, 1:19 AM
Reserved
May 13, 2026, 9:04 PM
Status
Deferred
Published
Aug 7, 2026, 11:17 PM
Modified
Sep 18, 2026, 8:09 PM