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.
CVSS breakdown
CVSS 4.0
Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Confidentiality (Vulnerable System)
High
Integrity (Vulnerable System)
High
Availability (Vulnerable System)
None
Confidentiality (Subsequent System)
None
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
Affected products
- Google / ADK TypeScript (@google/adk)0.4.0 – 0.6.0
References
- VENDOR_ADVISORYhttps://github.com/google/adk-js/security/advisories/GHSA-8hc4-6xx6-3rh3
- PATCHhttps://github.com/google/adk-js/pull/210
- PATCHhttps://github.com/google/adk-js/commit/8c0eaa160a43c1d791d5838a5de6ac87d905cf70
- PATCHhttps://github.com/google/adk-js/commit/710b4ebed118b0ded8fc257e5d0099e6b2008bc0
Updated 24m ago · 8 sources