---
id: CVE-2026-55747
title: >-
  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…
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…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-22
published: '2026-08-05'
updated: '2026-08-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-55747'
references:
  - url: 'https://github.com/The-Pocket/PocketFlow'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
tags:
  - nvd
epss: 0.00349
epssPercentile: 0.25681
ingestedAt: '2026-08-10T12:39:48.068Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
