Summary
CVE-2026-105772 is a path traversal vulnerability (CWE-22) in the FileArtifactService of Google’s Agent Development Kit (ADK) for TypeScript (npm package @google/adk). A remote, unauthenticated attacker can read or write files outside the intended artifact storage directory. The CVE record rates it Critical (9.1).
Technical details
- Root cause:
FileArtifactServicebuilt filesystem paths withpath.join()from theuserIdandsessionIdparameters without validating or sanitizing them. - Trigger conditions: the deployment uses the non-default
FileArtifactService. Deployments on the defaultInMemoryArtifactServiceare not affected. - Attack vector: network. The attacker supplies traversal sequences such as
../or percent-encoded..%2FinuserIdorsessionId. - Impact: reading artifacts or files outside the storage root, including other users’ or sessions’ data. When agent tools save artifacts, the attacker can also write files outside the storage root.
Affected software
@google/adk(ADK for TypeScript) versions 0.4.0 up to, but not including, 0.6.0, per the CVE record. The GitHub advisory lists versions below 0.6.0.- Only deployments that use
FileArtifactService.
Severity
- CVSS v4.0 base score 9.1 (Critical):
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N(the CVE record gives a v4.0 vector, not a v3.1 one). - The GitHub advisory separately lists 9.8 (Critical).
Mitigation and recommended actions
- Immediate: upgrade
@google/adkto version 0.6.0 or later. The fix adds an allowlist of valid characters and a check that resolved paths stay inside the storage root. - If you cannot upgrade immediately, the vendor advisory suggests these workarounds:
- Use the default in-memory artifact service.
- Put the ADK API server behind authentication.
- Validate
userIdandsessionIdin middleware against^[A-Za-z0-9_@-][A-Za-z0-9_.@-]{0,255}$. - Run Node.js with minimal filesystem permissions.

