Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify host-deployed poco-agent instance reachable over network
-
DeliverySubmit task via poco-agent's network interface
-
ExploitWorkspace setup invokes _setup_session_persistence without container guard
-
Executionrmtree silently destroys real ~/.claude directory
-
PersistSymlink swap replaces it with workspace-scoped .claude_data path
-
ImpactClaude Code session history and project data permanently lost
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incomplete cleanup
|
| Exploitation Conditions | Exploitation requires poco-agent to be deployed directly on a host system rather than inside a Docker, containerd, Kubernetes, or LXC container - the unsafe code path is only triggered when none of the container detection markers (/.dockerenv, /run/.containerenv, matching cgroup entries) are present and neither POCO_IN_CONTAINER nor POCO_FORCE_CLAUDE_SYMLINK environment variables are set to enable the symlink swap. The vulnerable code executes during workspace preparation for any submitted task, meaning any user or remote caller who can trigger task execution on such a host-deployed instance can provoke the data-destructive behavior. Exploitation is further limited by: (1) the impact radius is bounded to the ~/.claude directory of the OS user account running poco-agent; (2) the destructive rmtree only fires when ~/.claude exists as a real directory rather than already being a symlink to unrelated storage; and (3) the attacker gains no code execution or data exfiltration capability - the outcome is data destruction and availability loss only. |
| Impact | The CVSS 4.0 base score of 2.9 (Low) with AV:N/AC:H/PR:N/UI:N accurately reflects the bounded nature of the impact: no confidentiality breach (VC:N), and only low integrity and availability impact (VI:L/VA:L). No CISA KEV listing exists, confirming active exploitation in the wild is not established. However, a publicly available exploit exists (GitHub issue #131 and the PR #132 diff are public), which is a distinct and meaningful signal. No EPSS score was provided in the input data, so probabilistic exploitation likelihood cannot be quantified. The real-world risk is primarily data loss for developers who run poco-agent directly on host machines - a configuration the codebase itself considers non-default and dangerous. The VulDB 'Information Disclosure' tag is inconsistent with CVSS VC:N and the actual behavior documented in the PR diff; the vulnerability causes data destruction, not unauthorized data exposure, and that tag should not be weighted in risk decisions. Overall this is a genuine data-loss risk for a narrow deployment profile rather than a high-severity broadly exploitable flaw. |
| Exploit ScenarioDerived | A publicly available exploit exists per GitHub issue #131 in the poco-ai/poco-claw repository. An attacker or authorized user with access to submit tasks to a poco-agent instance running on a bare host (non-containerized) system triggers workspace preparation, causing poco-agent to invoke rmtree on the victim's ~/.claude directory and replace it with a symlink to a workspace-scoped path, resulting in permanent loss of Claude Code session history, project data, and configuration. The high attack complexity (AC:H) reflects that the attacker must identify a host-deployed instance and trigger task submission, but no authentication is required per the CVSS 4.0 vector. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
Incomplete session cleanup in poco-ai/poco-agent up to version 0.5.4 can permanently destroy the host user's ~/.claude directory - including all Claude Code chat history stored under ~/.claude/projects - when the agent runs outside a container environment. The WorkspaceManager._setup_session_persistence method performs an unconditional rmtree followed by a symlink swap on ~/.claude without verifying a container context, and the corresponding cleanup phase can additionally unlink pre-existing ~/.claude symlinks unrelated to poco-agent. A publicly available exploit exists via GitHub issue #131 and PR #132, though the CVSS 4.0 base score of 2.9 reflects high attack complexity and impact limited to low integrity and availability loss with no confidentiality breach.
RemediationAI
An upstream fix is available via GitHub PR #132 at https://github.com/poco-ai/poco-claw/pull/132; a formally tagged patched release version has not been independently confirmed from the available data, so users should verify the fix is included in any release they consume. The patch adds the _destructive_claude_symlink_allowed() guard that refuses to perform the destructive rmtree and symlink swap unless a container environment is positively confirmed via /.dockerenv, /run/.containerenv, cgroup patterns (docker, containerd, kubepods, lxc), or the explicit environment variable POCO_IN_CONTAINER=1. As an immediate workaround, run poco-agent exclusively inside Docker or OCI containers where ~/.claude is ephemeral and not backed by real user data. Users on affected versions running poco-agent on host machines should back up ~/.claude before executing any tasks, and should avoid setting POCO_FORCE_CLAUDE_SYMLINK=1 outside of isolated container environments. The cleanup fix ensures symlink removal is scoped only to symlinks poco-agent itself created, preventing accidental destruction of pre-existing user configurations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the WorkspaceManager class within executor/app/core/workspace.py of the poco-ai/poco-agent project (CPE: cpe:2.3:a:poco-ai:poco-agent:*:*:*:*:*:*:*:*). The _setup_session_persistence method was designed to atomically redirect Claude Code's ~/.claude directory to a workspace-scoped persistent storage area (.claude_data) using a symlink swap - a technique appropriate only inside disposable container environments where ~/.claude holds no real user data. CWE-459 (Incomplete Cleanup) manifests in two places: first, the setup phase invoked rmtree on the real ~/.claude directory and replaced it with a symlink without first confirming a container context (via /.dockerenv, /run/.containerenv, cgroup markers, or explicit env vars), meaning host-deployed instances would silently destroy live user data; second, the cleanup/teardown phase unlinked any ~/.claude symlink regardless of whether poco-agent created it, risking removal of pre-existing user-managed symlinks. The PR #132 fix introduces a _destructive_claude_symlink_allowed() guard and a targeted cleanup that only removes symlinks verifiably pointing at poco-agent's own persistent_claude_data path.
Know when Poco Agent gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable trigger with high complexity; no confidentiality impact; low integrity and availability loss bounded to the running user's ~/.claude directory.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in poco-ai poco-agent up to 0.5.4. Affected is the function WorkspaceManager._setup_session_persistence of the file executor/app/core/workspace.py of the component Claude File Handler. The manipulation results in incomplete cleanup. The attack may be performed from remote. Attacks of this nature are highly complex. The exploitability is told to be difficult. The exploit has been released to the public and may be used for attacks.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-53818
GHSA-j255-r942-27q8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB