Skip to main content

poco-agent EUVDEUVD-2026-53818

| CVE-2026-19019 LOW
Incomplete Cleanup (CWE-459)
2026-08-06 VulDB GHSA-j255-r942-27q8
2.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify host-deployed poco-agent instance reachable over network
  2. Delivery
    Submit task via poco-agent's network interface
  3. Exploit
    Workspace setup invokes _setup_session_persistence without container guard
  4. Execution
    rmtree silently destroys real ~/.claude directory
  5. Persist
    Symlink swap replaces it with workspace-scoped .claude_data path
  6. Impact
    Claude 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

poco-agent 0.5.1
poco-agent 0.5.2
poco-agent 0.5.0
poco-agent 0.5.4
poco-agent 0.5.3

Affected Packages

euvd poco_agent no fix

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

Vendor (VulDB) PRIMARY 2.9 MEDIUM
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
vuln.today AI 4.8 MEDIUM

Network-reachable trigger with high complexity; no confidentiality impact; low integrity and availability loss bounded to the running user's ~/.claude directory.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Aug 06, 2026 - 08:22 NVD
MEDIUM LOW
CVSS changed
Aug 06, 2026 - 08:22 NVD
6.3 (MEDIUM) 2.9 (LOW)
CVE Published
Aug 06, 2026 - 07:30 cve.org
LOW 2.9

DescriptionCVE.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

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Rare
niche AI agent framework, limited enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +14
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy