CVE-2026-107858
published high CVSS 4.0 · 7.2Cross-Site WebSocket Hijacking and Permissive CORS in Google Agent Development Kit (ADK) for Java Development Server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| — | com.google.adk:google-adk-devAgent Development Kit (ADK) for Java · 0.1.0 to < 1.13.0 · Other versions: unaffected | Affected | Not stated | ||
| — | com.google.adk:google-adk-maven-pluginAgent Development Kit (ADK) for Java · 0.3.0 to < 1.13.0 · Other versions: unaffected | Affected | Not stated |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- Google · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Agent Development Kit (ADK) for Java | 0.1.0 to < 1.13.0 (affected · semver)Default: unaffected | Google · cna | |
| Agent Development Kit (ADK) for Java | 0.3.0 to < 1.13.0 (affected · semver)Default: unaffected | Google · cna |
Weaknesses
3- 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
References
7- https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1
- https://github.com/google/adk-java/commit/5667d382ab5078a0d6e8f7184713a6bab767e004
- https://github.com/google/adk-java/commit/c2b087cbaf44f44d20dc946d8f2391506a2fce3d
- https://github.com/google/adk-java/issues/1257
- https://github.com/google/adk-java/pull/1222
- https://github.com/google/adk-java/releases/tag/v1.13.0
- https://github.com/google/adk-java/releases/tag/v1.6.0
Provider assertions
2Google · cna
Cross-Site WebSocket Hijacking and Permissive CORS in Google Agent Development Kit (ADK) for Java Development Server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2dbada2726fb85b280e551fff22d75a12762d1a11d142313a7d68996afb3766b
- Ingested
- 02 Nov 2026, 12:46:03 UTC
- Source record
- Official CVE record