Skip to main content

Pocketflow Pocketflow Coding Agent Cookbook Example

1 CVEs product

Monthly

CVE-2026-55747 Aug 05, 06:58 MEDIUM POC This Month

Path traversal in the PocketFlow pocketflow-coding-agent cookbook example exposes arbitrary filesystem reads and writes to any caller who can influence the file-tool arguments supplied to an agent invocation. The vulnerable `_path(workdir, p)` helper wraps `os.path.join` without canonicalization, meaning Python's own documented behavior - returning an absolute `p` unchanged and not resolving `../` sequences - silently discards the intended working-directory containment. Affected file tools include ReadFile, ListFiles, PatchRead, and PatchApply. A publicly available proof-of-concept exists; this is not confirmed in CISA KEV, but the trivial nature of the bypass (standard Python behavior) makes exploitation straightforward wherever the pattern has been copied into production.

Path Traversal Pocketflow Pocketflow Coding Agent Cookbook Example
NVD GitHub VulDB
CVSS 3.1
6.8
EPSS
0.3%
EPSS 0% CVSS 6.8
MEDIUM POC This Month

Path traversal in the PocketFlow pocketflow-coding-agent cookbook example exposes arbitrary filesystem reads and writes to any caller who can influence the file-tool arguments supplied to an agent invocation. The vulnerable `_path(workdir, p)` helper wraps `os.path.join` without canonicalization, meaning Python's own documented behavior - returning an absolute `p` unchanged and not resolving `../` sequences - silently discards the intended working-directory containment. Affected file tools include ReadFile, ListFiles, PatchRead, and PatchApply. A publicly available proof-of-concept exists; this is not confirmed in CISA KEV, but the trivial nature of the bypass (standard Python behavior) makes exploitation straightforward wherever the pattern has been copied into production.

Path Traversal Pocketflow Pocketflow Coding Agent Cookbook Example
NVD GitHub VulDB

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy