Description
Missing Origin Validation in WebSockets (CWE-1385) and Permissive Cross-domain Policy with Untrusted Domains (CWE-942) in the development web server (ADK Web) in Google Agent Development Kit (ADK) for Java (com.google.adk:google-adk-dev versions 0.1.0 before 1.13.0 and com.google.adk:google-adk-maven-plugin versions 0.3.0 before 1.13.0) allow a remote attacker to control a locally running agent and read its data via a malicious web page visited by a developer while the server is running. The /run_live WebSocket endpoint accepts connections from any origin by default (hardcoded via setAllowedOrigins("*") in versions 0.1.0 through 1.5.0, and defaulting to * via adk.web.cors.origins in versions 1.6.0 through 1.12.0), and since version 0.4.0 the REST API returns Access-Control-Allow-Origin: * by default. Because the server has no authentication and requests originate from the developer's browser (so binding to localhost does not prevent exploitation), a cross-origin page can send messages to the agent (triggering registered tools), stream agent responses, and list, read, create, or delete sessions and artifacts. In versions 1.6.0 through 1.12.0, users can mitigate the issue by setting the adk.web.cors.origins property to an explicit allowlist of trusted origins (such as http://localhost:8000). The vulnerability is fixed in version 1.13.0, which enforces a same-origin default for CORS and the /run_live WebSocket endpoint, and rejects DNS-rebinding requests over loopback.
Published: 2026-10-23
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

Impact

The vulnerability is caused by missing origin checks on the WebSocket /run_live endpoint and overly permissive CORS settings in the Google Agent Development Kit (ADK) for Java. Because the development server runs with no authentication and opens the WebSocket and REST API to any origin, a malicious webpage can communicate with a locally running agent, trigger registered tools, and read or modify its data. The flaw effectively allows an attacker to remotely control the agent and steal information, which constitutes remote code or command execution and data disclosure.

Affected Systems

The affected products are Google Agent Development Kit (ADK) for Java and its Maven plugin. Versions prior to 1.13.0 (specifically 0.1.0 through 1.12.0 across both the adk-web server component and the plugin) are vulnerable. Developers employing these versions during local development expose the agent to the described attacks.

Risk and Exploitability

The CVSS score of 7.2 indicates a medium-to-high severity. EPSS is not available, and the vulnerability is not listed in CISA KEV, meaning no public exploitation cataloging yet. The likely attack vector is a developer’s web browser. If a developer opens a malicious webpage while the ADK server is running on localhost, the page can exploit the permissive CORS and connect to the /run_live WebSocket, sending control messages and reading responses. The absence of authentication and the default '*' origins mean that exploitation requires only a browser visit, making the attack trivial for an attacker who can host a malicious page.

Generated by OpenCVE AI on October 23, 2026 at 06:35 UTC.

Remediation

Vendor Solution

Upgrade Google Agent Development Kit (ADK) for Java to version 1.13.0 or later.


Vendor Workaround

For versions 1.6.0 through 1.12.0, configure the adk.web.cors.origins property to an explicit allowlist of trusted origins (for example, http://localhost:8000) to restrict both the REST API and the /run_live WebSocket endpoint.


OpenCVE Recommended Actions

  • Upgrade Google Agent Development Kit (ADK) for Java to version 1.13.0 or later, which enforces same-origin defaults and rejects DNS‑rebind requests over loopback.
  • For versions 1.6.0 through 1.12.0, configure adk.web.cors.origins to an explicit allowlist of trusted origins (for example, http://localhost:8000) to restrict both the REST API and the /run_live WebSocket endpoint.
  • Avoid running the ADK development server with the default '*' CORS policy; verify that no untrusted origins are in the allowlist and that the /run_live endpoint is not exposed to external networks; disable the endpoint if it is not required.

Generated by OpenCVE AI on October 23, 2026 at 06:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 05:30:00 +0000

Type Values Removed Values Added
Description Missing Origin Validation in WebSockets (CWE-1385) and Permissive Cross-domain Policy with Untrusted Domains (CWE-942) in the development web server (ADK Web) in Google Agent Development Kit (ADK) for Java (com.google.adk:google-adk-dev versions 0.1.0 before 1.13.0 and com.google.adk:google-adk-maven-plugin versions 0.3.0 before 1.13.0) allow a remote attacker to control a locally running agent and read its data via a malicious web page visited by a developer while the server is running. The /run_live WebSocket endpoint accepts connections from any origin by default (hardcoded via setAllowedOrigins("*") in versions 0.1.0 through 1.5.0, and defaulting to * via adk.web.cors.origins in versions 1.6.0 through 1.12.0), and since version 0.4.0 the REST API returns Access-Control-Allow-Origin: * by default. Because the server has no authentication and requests originate from the developer's browser (so binding to localhost does not prevent exploitation), a cross-origin page can send messages to the agent (triggering registered tools), stream agent responses, and list, read, create, or delete sessions and artifacts. In versions 1.6.0 through 1.12.0, users can mitigate the issue by setting the adk.web.cors.origins property to an explicit allowlist of trusted origins (such as http://localhost:8000). The vulnerability is fixed in version 1.13.0, which enforces a same-origin default for CORS and the /run_live WebSocket endpoint, and rejects DNS-rebinding requests over loopback.
Title Cross-Site WebSocket Hijacking and Permissive CORS in Google Agent Development Kit (ADK) for Java Development Server
Weaknesses CWE-1385
CWE-306
CWE-942
References
Metrics cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Google

Published:

Updated: 2026-10-23T05:08:46.087Z

Reserved: 2026-10-08T22:58:19.162Z

Link: CVE-2026-107858

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T06:17:03.733

Modified: 2026-10-23T06:17:03.733

Link: CVE-2026-107858

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T06:45:07Z

Weaknesses
  • CWE-1385

    Missing Origin Validation in WebSockets

  • CWE-306

    Missing Authentication for Critical Function

  • CWE-942

    Permissive Cross-domain Security Policy with Untrusted Domains