genkit-cli is vulnerable to Path Traversal
30
CVE Score
Low
Path Traversal
The Genkit developer tools launched by the genkit CLI run a telemetry server and a Tools API / Dev UI server that build filesystem paths from trace and dataset identifiers received over unauthenticated HTTP and tRPC requests. The local file trace store and local file dataset store resolve those identifiers directly against the store root without rejecting path separators, .. segments, or null bytes, so a crafted identifier escapes the intended directory. Because these servers also bind to all network interfaces by default, a reachable attacker can read, write, or delete files outside the store root on the developer host. The fix validates and confines trace and dataset identifiers to the store root and binds the developer servers to 127.0.0.1 by default.
Upgrade the genkit-cli library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you run the Genkit developer tools reachable from an untrusted network.
0.9.0 - 1.39.0
Fixed in 1.40.0genkit-cli is vulnerable to Path Traversal in versions 0.9.0 - 1.39.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.