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.
Published: 2026-08-07
Score: 9.6 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Fri, 07 Aug 2026 22:30:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-07T22:11:57.765Z

Reserved: 2026-05-13T21:04:10.932Z

Link: CVE-2026-46409

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T23:30:17Z

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