PocketFlow - Path Traversal in pocketflow-coding-agent Cookbook Example File Tools
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| The-Pocket | PocketFlow (pocketflow-coding-agent cookbook example) | unknown |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| The-pocket | Pocketflow (pocketflow-coding-agent Cookbook Example) |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.349% probability within 30 days)
| Link | Providers |
|---|---|
| https://github.com/The-Pocket/PocketFlow |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | 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. |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | PocketFlow: Path Traversal in pocketflow-coding-agent Cookbook Example File Tools | PocketFlow - Path Traversal in pocketflow-coding-agent Cookbook Example File Tools |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
The-pocket
The-pocket pocketflow (pocketflow-coding-agent Cookbook Example) |
|
| Vendors & Products |
The-pocket
The-pocket pocketflow (pocketflow-coding-agent Cookbook Example) |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | PocketFlow: Path Traversal in pocketflow-coding-agent Cookbook Example File Tools | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|