CVE-2026-107858
Cross-Site WebSocket Hijacking and Permissive CORS in Google Agent Development Kit (ADK) for Java Development Server
High 7.2
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.
2026-10-23
2026-10-23
2026-10-08
Scores
| Source | CVSS | Score | Severity | Vector |
|---|---|---|---|---|
| 4.0 | 7.2 | High | 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 |
Weaknesses
Affected
| Vendor | Product | Versions |
|---|---|---|
| Agent Development Kit (ADK) for Java | 0.1.0 to < 1.13.0 (affected)
others: unaffected |
|
| Agent Development Kit (ADK) for Java | 0.3.0 to < 1.13.0 (affected)
others: unaffected |
References
- https://github.com/google/adk-java/issues/1257 issue-trackingexploit
- https://github.com/google/adk-java/releases/tag/v1.13.0 release-notes
- https://github.com/google/adk-java/commit/5667d382ab5078a0d6e8f7184713a6bab767e004 patch
- https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1 patch
- https://github.com/google/adk-java/pull/1222 mitigationpatch
- https://github.com/google/adk-java/commit/c2b087cbaf44f44d20dc946d8f2391506a2fce3d mitigationpatch
- https://github.com/google/adk-java/releases/tag/v1.6.0 release-notes
Full CVE JSON record (5.2)
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageName": "com.google.adk:google-adk-dev",
"product": "Agent Development Kit (ADK) for Java",
"repo": "https://github.com/google/adk-java",
"vendor": "Google",
"versions": [
{
"lessThan": "1.13.0",
"status": "affected",
"version": "0.1.0",
"versionType": "semver"
}
]
},
{
"defaultStatus": "unaffected",
"packageName": "com.google.adk:google-adk-maven-plugin",
"product": "Agent Development Kit (ADK) for Java",
"repo": "https://github.com/google/adk-java",
"vendor": "Google",
"versions": [
{
"lessThan": "1.13.0",
"status": "affected",
"version": "0.3.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "George Chen (@geo-chen)"
},
{
"lang": "en",
"type": "finder",
"value": "Gouri Sankar A (@g0w6y)"
}
],
"datePublic": "2026-06-11T10:31:00.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eMissing 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 (\u003ccode\u003ecom.google.adk:google-adk-dev\u003c/code\u003e versions 0.1.0 before 1.13.0 and \u003ccode\u003ecom.google.adk:google-adk-maven-plugin\u003c/code\u003e 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 \u003ccode\u003e/run_live\u003c/code\u003e WebSocket endpoint accepts connections from any origin by default (hardcoded via \u003ccode\u003esetAllowedOrigins(\"*\")\u003c/code\u003e in versions 0.1.0 through 1.5.0, and defaulting to \u003ccode\u003e*\u003c/code\u003e via \u003ccode\u003eadk.web.cors.origins\u003c/code\u003e in versions 1.6.0 through 1.12.0), and since version 0.4.0 the REST API returns \u003ccode\u003eAccess-Control-Allow-Origin: *\u003c/code\u003e by default. Because the server has no authentication and requests originate from the developer\u0027s 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 \u003ccode\u003eadk.web.cors.origins\u003c/code\u003e property to an explicit allowlist of trusted origins (such as \u003ccode\u003ehttp://localhost:8000\u003c/code\u003e). The vulnerability is fixed in version 1.13.0, which enforces a same-origin default for CORS and the \u003ccode\u003e/run_live\u003c/code\u003e WebSocket endpoint, and rejects DNS-rebinding requests over loopback.\u003c/p\u003e"
}
],
"value": "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\u0027s 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."
}
],
"impacts": [
{
"capecId": "CAPEC-62",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-62 Cross Site Request Forgery"
}
]
},
{
"capecId": "CAPEC-115",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-115 Authentication Bypass"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 7.2,
"baseSeverity": "HIGH",
"exploitMaturity": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-1385",
"description": "CWE-1385 Missing Origin Validation in WebSockets",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-942",
"description": "CWE-942 Permissive Cross-domain Policy with Untrusted Domains",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-306",
"description": "CWE-306 Missing Authentication for Critical Function",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-23T05:08:46.087Z",
"orgId": "14ed7db2-1595-443d-9d34-6215bf890778",
"shortName": "Google"
},
"references": [
{
"tags": [
"issue-tracking",
"exploit"
],
"url": "https://github.com/google/adk-java/issues/1257"
},
{
"tags": [
"release-notes"
],
"url": "https://github.com/google/adk-java/releases/tag/v1.13.0"
},
{
"tags": [
"patch"
],
"url": "https://github.com/google/adk-java/commit/5667d382ab5078a0d6e8f7184713a6bab767e004"
},
{
"tags": [
"patch"
],
"url": "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1"
},
{
"tags": [
"mitigation",
"patch"
],
"url": "https://github.com/google/adk-java/pull/1222"
},
{
"tags": [
"mitigation",
"patch"
],
"url": "https://github.com/google/adk-java/commit/c2b087cbaf44f44d20dc946d8f2391506a2fce3d"
},
{
"tags": [
"release-notes"
],
"url": "https://github.com/google/adk-java/releases/tag/v1.6.0"
}
],
"solutions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eUpgrade Google Agent Development Kit (ADK) for Java to version 1.13.0 or later.\u003c/p\u003e"
}
],
"value": "Upgrade Google Agent Development Kit (ADK) for Java to version 1.13.0 or later."
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Cross-Site WebSocket Hijacking and Permissive CORS in Google Agent Development Kit (ADK) for Java Development Server",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eFor versions 1.6.0 through 1.12.0, configure the \u003ccode\u003eadk.web.cors.origins\u003c/code\u003e property to an explicit allowlist of trusted origins (for example, \u003ccode\u003ehttp://localhost:8000\u003c/code\u003e) to restrict both the REST API and the \u003ccode\u003e/run_live\u003c/code\u003e WebSocket endpoint.\u003c/p\u003e"
}
],
"value": "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."
}
],
"x_generator": {
"engine": "Vulnogram 1.0.2"
}
}
},
"cveMetadata": {
"assignerOrgId": "14ed7db2-1595-443d-9d34-6215bf890778",
"assignerShortName": "Google",
"cveId": "CVE-2026-107858",
"datePublished": "2026-10-23T05:08:46.087Z",
"dateReserved": "2026-10-08T22:58:19.162Z",
"dateUpdated": "2026-10-23T05:08:46.087Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}