Skip to main content

OpenYak CVE-2026-46409

| EUVDEUVD-2026-54715 CRITICAL
Code Injection (CWE-94)
2026-08-07 GitHub_M
9.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure victim to malicious webpage
  2. Delivery
    Browser sends cross-origin request to 127.0.0.1 API
  3. Exploit
    Bypass loopback isolation via wildcard CORS
  4. Execution
    Invoke build agent bash command
  5. Persist
    Execute arbitrary shell commands on host
  6. Impact
    Exfiltrate chat history and account PII

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that OpenYak (desktop backend) is running on the victim host and that the user opens an attacker-controlled or compromised webpage in a browser on that same host; no credentials are needed because the loopback API performs no authentication, Origin validation, or Content-Type enforcement and uses wildcard CORS. Full host RCE specifically requires the build agent to be configured with permission_presets.bash=true; without that setting the attacker retains cross-origin API access enabling service shutdown and exfiltration of chat history and account PII, but not arbitrary shell execution. The primary limiting factors are the need for user interaction (visiting the page, UI:R), the service being active, and the port being discoverable (default 19141 or a randomized port the page must locate).

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H, base 9.6) is internally consistent with the description: the attack is network-reachable through the browser, requires no credentials against the unauthenticated loopback API, needs only that the victim open a malicious page (UI:R), and the scope change reflects the pivot from the browser context through loopback into host command execution with full confidentiality, integrity, and availability loss. The realistic gating factor is user interaction plus the requirement that OpenYak be running and that the exploited build agent has bash permissions enabled, which tempers otherwise trivial exploitation. No EPSS score, KEV listing, POC, or SSVC decision data was provided, so exploitation probability cannot be quantified from the input; the absence of KEV means this should be treated as a serious but not confirmed-exploited issue. Given a private GitHub Security Advisory as the sole reference and a niche product footprint, real-world risk is high for affected installs but likely limited in aggregate by low deployment scale.

Exploit ScenarioDerived

A developer runs OpenYak with the build agent's bash preset enabled and, in the same session, visits an attacker-controlled or compromised web page. JavaScript on that page silently issues cross-origin POST requests to http://127.0.0.1:<port> and, because the API neither validates Origin nor requires authentication, instructs the build agent to execute attacker-supplied shell commands, then reads back chat history and account PII - all with no interaction beyond the page load.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 07, 2026

Cross-origin request forgery leading to remote code execution in OpenYak before 1.1.3 lets any malicious webpage a user visits drive the desktop backend's loopback HTTP API (typically 127.0.0.1:19141) to run arbitrary shell commands on the host, terminate the service, and steal chat history and account PII. The local API ships with no Origin validation, no loopback authentication, no Content-Type enforcement, and a wildcard CORS policy, so the victim's browser is abused as a proxy that defeats OS-level network isolation. No public exploit identified at time of analysis; the flaw is fixed in version 1.1.3.

RemediationAI

Vendor-released patch: 1.1.3 - upgrade OpenYak to 1.1.3 or later, which adds Origin validation, loopback authentication, Content-Type enforcement, and removes the wildcard CORS policy (see https://github.com/openyak/openyak/security/advisories/GHSA-ccxp-q2w5-27jw). If immediate patching is not possible, disable the build agent's shell capability by setting permission_presets.bash=false to remove the RCE primitive (this disables legitimate bash tool use), and avoid running OpenYak while browsing untrusted sites; where feasible, use host firewall rules or a local proxy to restrict which processes can reach the backend's loopback port, accepting that a randomized port makes static rules brittle. Shutting OpenYak down entirely when not in active use eliminates the exposure window at the cost of availability.

Affected VersionsENISA

openyak < 1.1.3

Affected Packages

euvd openyak fix: 1.1.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenYak is a local-first agent runtime for tool-using models packaged with a desktop workspace; the desktop backend exposes a REST/HTTP control API bound to loopback on a randomized port. The root cause is CWE-94 (Code Injection): the build agent honors a permission preset (permission_presets.bash=true) that allows shell command execution, and the surrounding HTTP layer performs no server-side Origin checking, no per-request authentication token, and applies a permissive wildcard CORS policy. Because browsers freely allow cross-origin requests to loopback and the server neither rejects foreign Origins nor requires a non-simple Content-Type/preflight, a remote page can reach and command a service that developers assume is protected simply by being bound to 127.0.0.1. The affected component is identified in CPE data as cpe:2.3:a:openyak:openyak (all versions prior to the fix).

Know when Openyak gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 9.6 CRITICAL

Browser-proxied network reach with no auth on loopback (AV:N/PR:N), only a page visit needed (UI:R), and pivot from browser into host command execution justifies scope change with full C/I/A loss.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 07, 2026 - 23:02 EUVD
CVE Published
Aug 07, 2026 - 22:11 cve.org
CRITICAL 9.6

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

OpenYak before version 1.1.3 exposes all users to critical system compromise and data theft through ordinary web browsing. A malicious website can hijack a user's browser to execute arbitrary commands on their machine, steal chat histories and account credentials, and disable the application-requiring no special privileges or user interaction beyond visiting an infected site.

Business Impact: Severe
Compensating Controls

Apply vendor patch: upgrade to OpenYak 1.1.3 or later.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche developer-focused local agent runtime, limited production footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy