Skip to main content
EPSS 0.3%top 82%

CVE-2026-55747: CWE-22 Path Traversal in The-Pocket PocketFlow (pocketflow-coding-agent cookbook example)

0
Medium
VulnerabilityCVE-2026-55747cvecve-2026-55747cwe-22
Published: 08/05/2026 (08/05/2026, 06:58:41 UTC)
Source: CVE Database V5
Vendor/Project: The-Pocket
Product: PocketFlow (pocketflow-coding-agent cookbook example)

Description

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.

CVSS v3.1

Score 6.8medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected software

The-Pocket

PocketFlow (pocketflow-coding-agent cookbook example)

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:23:36 UTC

Technical Analysis

The pocketflow-coding-agent cookbook example in The-Pocket/PocketFlow contains a path traversal vulnerability (CWE-22) due to a helper function that uses os.path.join(workdir, p) without performing canonicalization or containment checks. This helper is used by file-access tools such as ReadFile, ListFiles, PatchRead, and PatchApply without safeguards, enabling an attacker to potentially access files outside the intended directory. The issue is limited to the illustrative example code and does not affect the core PocketFlow library API. No patch or official remediation guidance is currently available.

Potential Impact

The vulnerability allows unauthorized file access via path traversal when the vulnerable example code is used in production. Since it affects only the cookbook example and not the core library, the impact is limited to applications that copy this insecure pattern. Confidentiality and integrity of files may be compromised, but availability is not affected. There are no known exploits in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid deploying the vulnerable example code in production or implement proper path canonicalization and containment checks to prevent path traversal.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-06-17T12:59:17.621Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a72e5c6bf8831d539734f55

Added to database: 08/05/2026, 07:27:02 UTC

Last enriched: 08/12/2026, 14:23:36 UTC

Last updated: 09/17/2026, 22:01:36 UTC

Views: 26

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses