Google ADK for Python 2.0.0 through 2.6.0 has an unauthenticated remote code execution vulnerability
Remote Code Execution in Google ADK for Python via Incomplete Standard Library Denylist
CVE-2026-79696 discloses code injection in adk web of Google ADK for Python 2.0.0 through 2.6.0: in environments with pytest installed, an unauthenticated remote attacker can execute arbitrary code by crafting a test session replay. The affected range is recorded as 2.0.0 to less than 2.7.0, with a CVSS 4.0 base score of 10.0. According to the fix commit description, the root cause is that code references such as tool, callback, schema, and model in YAML agent configurations were only blocked by a blacklist listing dangerous standard library modules one by one, missing modules such as cProfile, bdb, trace, timeit, and pydoc that can directly execute passed strings. The fix changed to use sys.stdlib_module_names to block the entire standard library, but the commit also acknowledges that the blacklist still cannot cover third-party packages resolved by name. The reporter is Sanil Dulal.
Configuration references in ADK for Python can bypass the standard library blacklist to execute arbitrary code, providing a reference for the import surface of self-built agent frameworks.