๐Ÿ” CVE Alert

CVE-2026-55747

HIGH 7.1

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

CVSS Score
7.1
EPSS Score
0.0%
EPSS Percentile
0th

The pocketflow-coding-agent cookbook example in The-Pocket/PocketFlow implements a `_path(workdir, p)` 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. Because os.path.join returns an absolute `p` unchanged (ignoring workdir) and does not resolve '../' sequences, an agent invocation whose file-tool arguments include an absolute path or a traversal sequence can read or write files outside the configured working directory. Severity reflects that this affects an illustrative cookbook example rather than a core library API; applications that copy this pattern into production are affected.

CWE CWE-22
Vendor the-pocket
Product pocketflow (pocketflow-coding-agent cookbook example)
Published Aug 5, 2026
Stay Ahead of the Next One

Get instant alerts for the-pocket pocketflow (pocketflow-coding-agent cookbook example)

Be the first to know when new high vulnerabilities affecting the-pocket pocketflow (pocketflow-coding-agent cookbook example) are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

The-Pocket / PocketFlow (pocketflow-coding-agent cookbook example)
0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/The-Pocket/PocketFlow

Credits

Muhammadrasul Zohidjonov