PocketFlow - Path Traversal in pocketflow-coding-agent Cookbook Example File Tools
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-55747
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 04:08 UTC · Revision 1
Source evidence
PocketFlow - Path Traversal in pocketflow-coding-agent Cookbook Example File Tools
core-osv · Original sourcePublished 5 Aug 2026, 06:58 UTC
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.
osv:CVE-2026-55747
Complete source record
{
"id": "c02e89c29f9e1b1396b0f67f585974b37efcd132acc72cd7a39e6b294a92acf0",
"url": "https://osv.dev/vulnerability/CVE-2026-55747",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "PocketFlow - Path Traversal in pocketflow-coding-agent Cookbook Example File Tools",
"summary": "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.",
"evidence": "osv:CVE-2026-55747",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-55747",
"aliases": [
"CVE-2026-55747"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/the-pocket/pocketflow",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
}
],
"versions": [
"0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55747.json"
}
}
],
"modified": "2026-10-28T02:30:42.252149771Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55747.json",
"https://github.com/The-Pocket/PocketFlow",
"https://nvd.nist.gov/vuln/detail/CVE-2026-55747"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "TuranSec",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55747.json"
}
},
"related_cves": [
{
"value": "CVE-2026-55747",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 510119,
"published_at": "2026-08-05T06:58:41.309+00:00"
}