Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| The-Pocket / PocketFlow (pocketflow-coding-agent cookbook example) | affected 0 |
CWE
CWE-22
References
ADP enrichment
No English description supplied.
No references supplied.