Description
Path Traversal (CWE-22) in FileArtifactService in Google ADK TypeScript (@google/adk) versions 0.4.0 before 0.6.0 allows a remote unauthenticated attacker to read files matching the artifact directory layout or write files (when an agent tool invokes saveArtifact) outside the intended artifact storage root via crafted relative or percent-encoded path traversal sequences (such as ../ or ..%2F) in the userId or sessionId parameters when the ADK API server is exposed with the non-default FileArtifactService enabled. Applications using the default InMemoryArtifactService are unaffected. Upgrade to @google/adk version 0.6.0 or later.
Published: 2026-10-20
Score: 9.1 Critical
EPSS: n/a
KEV: No
Impact: Remote File Read and Write
Action: Immediate Patch
AI Analysis

Impact

This vulnerability is a path‑traversal flaw (CWE-22) in the FileArtifactService of Google ADK TypeScript. Through crafted relative or percent‑encoded sequences (for example, "../" or "..%2F") supplied in the userId or sessionId parameters, an unauthenticated remote attacker can read arbitrary files that match the artifact directory layout or write files outside the intended artifact storage root. The flaw does not affect the default InMemoryArtifactService, only applications that enable the non‑default FileArtifactService exposed by the ADK API server.

Affected Systems

The affected product is the Google ADK TypeScript library (@google/adk). Versions 0.4.0 to 0.5.x (0.4.0 before 0.6.0) are vulnerable. The vulnerability is present whenever the server is configured with the non‑default FileArtifactService enabled. Products using the default InMemoryArtifactService are not impacted.

Risk and Exploitability

The flaw carries a CVSS score of 9.1, indicating critical severity. The EPSS score is not available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. A remote unauthenticated attacker can exploit the flaw via network requests to the exposed API service. The attack requires only that the service be reachable and that the non‑default FileArtifactService be enabled; no additional credentials or privileged access are needed.

Generated by OpenCVE AI on October 20, 2026 at 20:32 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade @google/adk to 0.6.0 or later
  • If an upgrade is not possible, replace the non‑default FileArtifactService with the default InMemoryArtifactService or otherwise prohibit external access to the service endpoints that allow setting userId or sessionId
  • Verify that the ADK API server is not exposed to the public network and enforce network segmentation where feasible

Generated by OpenCVE AI on October 20, 2026 at 20:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
Description Path Traversal (CWE-22) in FileArtifactService in Google ADK TypeScript (@google/adk) versions 0.4.0 before 0.6.0 allows a remote unauthenticated attacker to read files matching the artifact directory layout or write files (when an agent tool invokes saveArtifact) outside the intended artifact storage root via crafted relative or percent-encoded path traversal sequences (such as ../ or ..%2F) in the userId or sessionId parameters when the ADK API server is exposed with the non-default FileArtifactService enabled. Applications using the default InMemoryArtifactService are unaffected. Upgrade to @google/adk version 0.6.0 or later.
Title Arbitrary file read and write in Google ADK TypeScript (@google/adk) FileArtifactService via path traversal in userId and sessionId
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 9.1, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Google

Published:

Updated: 2026-10-20T18:08:00.481Z

Reserved: 2026-10-05T19:48:07.182Z

Link: CVE-2026-105772

cve-icon Vulnrichment

Updated: 2026-10-20T18:07:37.426Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T18:17:16.607

Modified: 2026-10-20T20:06:37.150

Link: CVE-2026-105772

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T20:45:14Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')