{"id":"CVE-2026-55747","aliases":["CVE-2026-55747"],"related":[],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El ejemplo de recetario de pocketflow-coding-agent en The-Pocket/PocketFlow implementa una función auxiliar ’_path(workdir, p)’ como un envoltorio ligero de os.path.join(workdir, p) sin canonicalización ni verificación de contención, utilizado sin protección por las herramientas de acceso a archivos ReadFile, ListFiles, PatchRead y PatchApply. Debido a que os.path.join devuelve una ’p’ absoluta sin cambios (ignorando workdir) y no resuelve secuencias ’.. / ’, una invocación de agente cuyos argumentos de herramienta de archivo incluyen una ruta absoluta o una secuencia de recorrido puede leer o escribir archivos fuera del directorio de trabajo configurado. La gravedad refleja que esto afecta a un ejemplo ilustrativo de recetario en lugar de a una API de biblioteca central; las aplicaciones que copian este patrón en producción se ven afectadas.","source":"nvd"}],"published":"2026-08-05T06:58:41.309Z","modified":"2026-10-24T16:10:00.153Z","severity":{"scorer":"TuranSec","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"TuranSec","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"0","status":"affected"}],"vendor":"The-Pocket","product":"PocketFlow (pocketflow-coding-agent cookbook example)","source":"cvelist"}],"references":[{"url":"https://github.com/The-Pocket/PocketFlow","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Muhammadrasul Zohidjonov"],"assigner":"TuranSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-05T13:12:32.219Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55747","url":"https://www.cve.org/CVERecord?id=CVE-2026-55747","licence":"CVE Terms of Use","modified":"2026-08-10T11:44:33.775Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55747","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55747","licence":"Public domain","modified":"2026-10-24T16:10:00.153Z"}],"updatedAt":"2026-11-25T22:59:31.065Z","epss":{"score":0.00349,"percentile":0.2091,"date":"2026-11-30T12:00:22.000Z"}}