Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-55747 EUVD-2026-53195GHSA-8v55-7p5p-6r5c

PocketFlow - Path Traversal in pocketflow-coding-agent Cookbook Example File Tools

Published Aug 5, 2026 · Updated Aug 10, 2026 · Assigned by TuranSec

Description

The pocketflow-coding-agent cookbook example in The-Pocket/PocketFlow implements a helper as a thin os.path.join(workdir, p) wrapper with no canonicalization or containment check, used unguarded by the ReadFile, ListFiles, PatchRead, and PatchApply file-access tools. Severity reflects that this affects an illustrative cookbook example rather than a core library API; applications that copy this pattern into production are affected.

Affected products

VendorProductAffectedFixed
The-Pocket PocketFlow (pocketflow-coding-agent cookbook example) — —

References