Cross-Site WebSocket Hijacking and Permissive CORS in Google Agent Development Kit (ADK) for Java Development Server

Summary

CVECVE-2026-107858
StatePUBLISHED
AssignerGoogle
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-23 06:17:03 UTC
Updated2026-10-23 06:17:03 UTC
DescriptionMissing 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.

Risk And Classification

Primary CVSS: v4.0 7.2 HIGH from [email protected]

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-306 | CWE-942 | CWE-1385 | CWE-1385 CWE-1385 Missing Origin Validation in WebSockets | CWE-942 CWE-942 Permissive Cross-domain Policy with Untrusted Domains | CWE-306 CWE-306 Missing Authentication for Critical Function


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary7.2HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/C...
4.0CNACVSS7.2HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Confidentiality
High
Integrity
Low
Availability
Low
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Google Agent Development Kit ADK For Java affected 0.1.0 1.13.0 semver Not specified
CNA Google Agent Development Kit ADK For Java affected 0.3.0 1.13.0 semver Not specified

References

ReferenceSourceLinkTags
github.com/google/adk-java/commit/c2b087cbaf44f44d20dc946d8f2391506a2fce3d [email protected] github.com
github.com/google/adk-java/pull/1222 [email protected] github.com
github.com/google/adk-java/commit/5667d382ab5078a0d6e8f7184713a6bab767e004 [email protected] github.com
github.com/google/adk-java/issues/1257 [email protected] github.com
github.com/google/adk-java/releases/tag/v1.6.0 [email protected] github.com
github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1 [email protected] github.com
github.com/google/adk-java/releases/tag/v1.13.0 [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: George Chen (@geo-chen) (en)

CNA: Gouri Sankar A (@g0w6y) (en)

Additional Advisory Data

Solutions

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

Workarounds

CNA: 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report