Summary
CVE-2026-79696 is a critical code injection vulnerability in the adk web component of Google Cloud’s Agent Development Kit (ADK) for Python, affecting versions 2.0.0 through 2.6.0. When pytest is installed in the runtime (applicable to OSS Python, Cloud Run, and GKE deployments), an unauthenticated remote attacker can achieve arbitrary code execution by submitting a crafted test session replay. The issue carries the maximum CVSS severity rating of 10.0 (Critical).
Technical details
- Root cause: ADK’s YAML agent configuration loader used an incomplete denylist of blocked Python standard library functions/modules rather than blocking the stdlib as a whole, permitting references to code-executing functions such as
cProfile.run,timeit.timeit, andtrace.Trace.run. - Trigger conditions: an attacker supplies an agent YAML configuration that names one of these code-executing stdlib functions as a "tool," then replays a crafted/saved test session; ADK’s test-replay logic dispatches the recorded function call directly to the resolved tool, executing attacker-controlled code.
- Attack vector: Network — exploitable without authentication or user interaction against exposed
adk webinstances where pytest is installed. - Impact: full compromise of confidentiality, integrity, and availability on the host running
adk web(arbitrary remote code execution).
Affected software
- Google Cloud Agent Development Kit (ADK) for Python, versions 2.0.0 through 2.6.0
- Applicable to deployments on OSS Python, Cloud Run, and GKE where pytest is installed alongside ADK
Severity
CVSS v4.0 Base Score: 10.0 (Critical)
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/U:Amber
Mitigation and recommended actions
- Immediate: Upgrade to google-adk version 2.7.0 or later, which blocks the entire Python standard library from being referenced in agent configurations rather than relying on an incomplete denylist.
- If patching is not immediately possible: Do not expose
adk webto the network; restrict access to trusted, local, or internal-only environments, and avoid runningadk webin environments where pytest is installed until upgraded.
How IONIX identifies potentially affected assets
IONIX matches the following signal against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Page title:
Agent Development Kit Dev UI

