Intel

AIKIDO-2026-650192

genkit-cli is vulnerable to Path Traversal

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 20, 2026
July 20, 2026

30

CVE Score

Low

Path Traversal

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade the genkit-cli library to the patch version.

Who does this affect?

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.

Package

Versions

0.9.0 - 1.39.0

Fixed in 1.40.0

Background info

genkit-cli is vulnerable to Path Traversal in versions 0.9.0 - 1.39.0.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea