CVE-2026-107858

Source
https://cve.org/CVERecord?id=CVE-2026-107858
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107858.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-107858
Published
2026-10-23T05:08:46Z
Modified
2026-11-04T07:04:23Z
Severity
  • 7.2 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Cross-Site WebSocket Hijacking and Permissive CORS in Google Agent Development Kit (ADK) for Java Development Server
Details

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.

Database specific
{
    "cna_assigner":  "Google",
    "cwe_ids":  [
        "CWE-1385",
        "CWE-306",
        "CWE-942"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107858.json"
}
References

Affected packages

Git / github.com/google/adk-java

Affected ranges

Type
GIT
Repo
https://github.com/google/adk-java
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0.1.0"
                },
                {
                    "fixed":  "1.13.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "0.3.0"
                },
                {
                    "fixed":  "1.13.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "original_tag":  "v1.13.0",
            "range":  [
                {
                    "fixed":  "db305533bd7ed383a6e5a4bcb6339678706a4c8e"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "range":  [
                {
                    "fixed":  "5667d382ab5078a0d6e8f7184713a6bab767e004"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "1ae5078072e13e101318e32833f1db323ef084e1"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "c2b087cbaf44f44d20dc946d8f2391506a2fce3d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v1.6.0",
            "range":  [
                {
                    "fixed":  "3eb9e4946184b67061f5bdcf6ed2034ac9808cf8"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.3.0
v0.5.0
v0.6.0
v0.7.0
v0.8.0
v0.9.0
v1.*
v1.0.0
v1.0.0-rc.1
v1.1.0
v1.2.0
v1.3.0
v1.4.0
v1.5.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107858.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "313711056712337691404370673961386328359",
            "length":  715
        },
        "id":  "CVE-2026-107858-069ea0a3",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/5667d382ab5078a0d6e8f7184713a6bab767e004",
        "target":  {
            "file":  "dev/src/main/java/com/google/adk/web/config/AdkWebCorsConfig.java",
            "function":  "corsConfigurationSource"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "149205517641008779956050675461799350211",
                "43759323004153407623230153445499381571",
                "197046644711910143546669911772349615545",
                "192945955436611195801319888146667833952"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-107858-09f86386",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/5667d382ab5078a0d6e8f7184713a6bab767e004",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerProxyRedirectTest.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "258553121844751597926485437347450801617",
            "length":  89
        },
        "id":  "CVE-2026-107858-11bdbfc9",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java",
            "function":  "runLive_fromUnlistedOrigin_isRejected"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "105584763468287334248775858112939394851",
            "length":  260
        },
        "id":  "CVE-2026-107858-15e30a0d",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java",
            "function":  "restApi_behindTlsProxy_fromRemoteOrigin_isRejected"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "66532647160846676212462410172674209522",
            "length":  283
        },
        "id":  "CVE-2026-107858-242328b5",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java",
            "function":  "runLive_behindTlsProxy_completesHandshake"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "140635170830057294641805275073692252394",
            "length":  1666
        },
        "id":  "CVE-2026-107858-35fa7b70",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "maven_plugin/src/main/java/com/google/adk/maven/WebMojo.java",
            "function":  "execute"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "314788603848500401041196241394522269069",
            "length":  272
        },
        "id":  "CVE-2026-107858-37a32d51",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java",
            "function":  "restApi_behindTlsProxy_isAllowed"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "204582540821175265421703275917464071643",
                "322478236095637537571882954741279066484",
                "205088932171908788783791003821733900039",
                "35521612721349283460245585561736781829",
                "31431408266256247831500776048330269732",
                "135060027769732863643411313948966678267",
                "193528288649365500921984758469964590203",
                "252021793040838243725685838175711192775",
                "241588265048865031305414657998323638783",
                "133462223432963825589120757465973455381",
                "230249802167891830691028120241027385777",
                "167885611612611809692041718516647857970",
                "17183823726422244148908454113159997694",
                "94659371708300576791863007378771006708",
                "223268514517902614263893778600075350596",
                "128932042793413988203209251266277267849"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-107858-4182a414",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/5667d382ab5078a0d6e8f7184713a6bab767e004",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/controller/RuntimeConfigControllerTest.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "184923107511468947980489843895455607570",
                "64185129938363812599958718825485253275",
                "250993024618979776072526086226736105490",
                "110021732418907010002434012686976881535",
                "210704335236134016096708586479249846972",
                "143359696758714600886846735948254550956",
                "308416481612653172920529440603298367163"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-107858-51e230ca",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/5667d382ab5078a0d6e8f7184713a6bab767e004",
        "target":  {
            "file":  "dev/src/main/java/com/google/adk/web/config/AdkWebCorsProperties.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "225927047938112663219544460955594861421",
                "204300920395916209461102893970909029428",
                "282931846846958195228465134821322836719",
                "51857957212228778248571682962465877818",
                "236211536869111583498571024712823845048",
                "300610603555213790110839500562762020913",
                "147603883871004729842703399550340377816",
                "245497667099090903250294351398640050752",
                "150462997642824513485907158582521693216",
                "21688352831761286051953122022486007984"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-107858-5b0d4bf0",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/main/java/com/google/adk/web/config/AdkWebCorsConfig.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "314788603848500401041196241394522269069",
            "length":  272
        },
        "id":  "CVE-2026-107858-6b160591",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java",
            "function":  "restApi_behindTlsProxy_isAllowed"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "251682577086635509360114993829286224459",
            "length":  270
        },
        "id":  "CVE-2026-107858-73abe3e8",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java",
            "function":  "restApi_fromOtherOrigin_isRejected"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "211696200906045799490977101894138575924",
                "28898559400454367552236026322762429639",
                "307307909807331093985678166348152205906",
                "117569798750556917728161554945014867725",
                "1874737059157833955952703387017026538",
                "281874401126361644844988011145433796993",
                "67012684429761077054744475668093409839",
                "246262212052017525736997793574100333772",
                "245103043274403041394086824664267747254",
                "331344587366985224103404292370670895674",
                "70907894173384939476275703851824439869",
                "279536022782819661931707643556571041356",
                "62788228877626627308888502347650579988",
                "311474683662703981331508255117505205358",
                "181915982366184163266586866978551484810",
                "110442935483520232274543990858537174081",
                "131147033977639390665536041047115381184",
                "304900045952253278182652501340343160065"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-107858-84154472",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/5667d382ab5078a0d6e8f7184713a6bab767e004",
        "target":  {
            "file":  "dev/src/main/java/com/google/adk/web/config/AdkWebCorsConfig.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "20262533306949554198016761320237920220",
            "length":  362
        },
        "id":  "CVE-2026-107858-98389cec",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java",
            "function":  "preflight_fromRemoteOrigin_isRejected"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "314788603848500401041196241394522269069",
            "length":  272
        },
        "id":  "CVE-2026-107858-a9ac42c0",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java",
            "function":  "restApi_behindTlsProxy_isRejected"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "205443083925164984668486678275627569033",
                "138434501093349693079372977946548838096",
                "275807076877984453069322933756369289462",
                "153139644692827263447201078949018430651",
                "205088932171908788783791003821733900039",
                "35521612721349283460245585561736781829",
                "31431408266256247831500776048330269732",
                "135060027769732863643411313948966678267",
                "193528288649365500921984758469964590203",
                "206446992576498053251443094828519144161",
                "30703486195120083833452484575706719824",
                "42843696376150852920636643818459350641",
                "293683953163859110883569725200784092175",
                "7814016212597030183515154858686177621",
                "72531733758632580842139319996882259308",
                "327581966243379399987445981137887452987",
                "136612891588146725830889852403622050886",
                "330127921051450754475626595152446668589",
                "46247852824551290329994489946163532493",
                "241588265048865031305414657998323638783",
                "133462223432963825589120757465973455381",
                "230249802167891830691028120241027385777",
                "179169084880923212709043671286263648191",
                "258769741987061578822749335434839632231",
                "83556025152354470256277097303083359519",
                "199213855202234066517687263148671157475"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-107858-b2a40127",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/5667d382ab5078a0d6e8f7184713a6bab767e004",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/BackendUrlRedirectTest.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "26818660990179853408410522141392394490",
                "266844355775336258524327915440056188933"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-107858-bf47a5d9",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/3eb9e4946184b67061f5bdcf6ed2034ac9808cf8",
        "target":  {
            "file":  "core/src/main/java/com/google/adk/Version.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "88045656149129765343086409581297336050",
            "length":  271
        },
        "id":  "CVE-2026-107858-c16831eb",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java",
            "function":  "restApi_behindTlsProxy_fromPlainHttpOrigin_isRejected"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "69910508847200949368493138636974785369",
                "294557647360699059804413477099838621674",
                "148925207338713000431381507894158007156",
                "75458718265477841952661155479520848170",
                "133879560215996204579707246482971074030",
                "268194058156262163941996710342152587302",
                "339088392381495797654024765937575554006",
                "193637797335625645923509650421339413357",
                "56177304876161012484838208588786318322",
                "172019661112159654810405703514051257221",
                "156417669750916673500094937400040264341",
                "337307683756046767194047335177678151087",
                "294218845056896892863242819781665189375",
                "174885717881872724332847770643908102311",
                "182879667895669296007812647120866887490",
                "272296147005227272326487775869792741699",
                "58960300673354735187455729306941984542",
                "48357047958666268296192799474264007386",
                "256099065081474018619162755981283879531",
                "93762919928207527128536087942142943499",
                "339695938287520362853578670555979603398",
                "9272956777827215441021445725880193609",
                "212671487948867715220356285419656467344",
                "281430605838725082508857983931575223782",
                "198238737882822233580248506393898957848",
                "35132971256250382633219996911257831764",
                "5776131397503834985172528814346877015",
                "39288473717942422251153162640004722279",
                "132089420814303532650140793234157121303",
                "28556988124129516295855539549609295078",
                "29207971751818873095207846443941009272",
                "310763257898836769061778672858053092542",
                "286309194681658306560183055176360701321",
                "75923985952436385192568774021511343908",
                "123544923968803122539849947720193170298",
                "44541265157384735967577481087034007735",
                "265498145981342023300634028647770375433",
                "210848506783841016517716677179984297921",
                "24408412171536845632387036178455331873",
                "207105054483307338004027623555352051951",
                "254706724501571380458003938156355981366",
                "27510734964584759352673277742838424655",
                "21654561326141383102156002601994384743",
                "103751031902438954156247020651008735213",
                "110467346669008547503693386790585179478",
                "65150961216875522050483732586609449228",
                "93167365634702680862742476644103394849",
                "48357047958666268296192799474264007386",
                "31699422414745454095436265125459878733",
                "291075510948555922155034014461767853145",
                "138782587565909883608102951725484926241",
                "115586950059581950132138288562940577655",
                "156137825622240201548269021097236115702",
                "104480047919747430520090431875967892758",
                "263720985928640993912633123940552342177",
                "26168708712416746132492688209842285185",
                "19285577842084060707498847322259647000",
                "154819903204843663103748285881104847027",
                "305219787678728591141299713715216096324",
                "48357047958666268296192799474264007386",
                "256099065081474018619162755981283879531",
                "93762919928207527128536087942142943499",
                "339695938287520362853578670555979603398",
                "116542968252621621147033582090334257426",
                "315750362949266040534797668532943147246",
                "27044452660747007041603467856415624586",
                "305219787678728591141299713715216096324",
                "126429555696310894809378772951622467851",
                "283647495905408533611489493266262838048",
                "317774755372326318242264064118802110762"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-107858-c9942c40",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "258553121844751597926485437347450801617",
            "length":  89
        },
        "id":  "CVE-2026-107858-cc2d7dda",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java",
            "function":  "runLive_fromRemoteOrigin_isRejected"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "112896862897994656630257533899328850781",
                "276699855856021189971408485807971895773",
                "115532049320252667745398336138400149413",
                "236467681029359224224473409690644672883",
                "335133951558194463442018502957965406151",
                "245129740540521794097052472221972812936",
                "73853083176476377254536475007837454546",
                "77342965053041379404560406372483916795",
                "297563357489885017521067331604384659587",
                "60380602695110993790972099762014720649",
                "165518595766173840321411572326896676728",
                "263295939871229792866367322171470163632",
                "13422742282296223724074773163017074957"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-107858-d87a7d7e",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "maven_plugin/src/main/java/com/google/adk/maven/WebMojo.java"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "160425660932147015876571970190549784261",
            "length":  218
        },
        "id":  "CVE-2026-107858-de6686df",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/google/adk-java/commit/1ae5078072e13e101318e32833f1db323ef084e1",
        "target":  {
            "file":  "dev/src/test/java/com/google/adk/web/AdkWebServerCorsTest.java",
            "function":  "restApi_fromSameOrigin_isAllowed"
        }
    }
]
vanir_signatures_modified
"2026-11-04T07:04:23Z"