Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed ChatDev upload endpoint
-
DeliveryPOST multipart with '../' traversal filename
-
ExploitPath built without sanitization in save_upload_file
-
ExecutionWrite/delete file at attacker-chosen path
-
PersistOverwrite cron/app code or destroy files
-
ImpactAchieve code execution or service disruption
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network access to ChatDev's file upload endpoint - specifically the POST uploads session endpoint - and the ability to send a multipart request with an attacker-chosen filename containing path traversal sequences ('../') or an absolute path; per AV:N/AC:L/PR:N/UI:N this works against an exposed instance with no authentication and no user interaction. The primary limiting factor is reachability: the instance's upload endpoint must be network-accessible to the attacker, since ChatDev is typically run as a local/self-hosted tool rather than internet-facing. Effective impact is further bounded by the OS-level write/delete permissions of the ChatDev process account - what the attacker can overwrite or delete is limited to paths that process can already modify. |
| Impact | Signals are mostly consistent and point to a genuine priority rather than an inflated-CVSS issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) shows network reachability, low complexity, no privileges, and no user interaction - i.e., trivially reachable - with high integrity and availability impact (VI:H/VA:H) but no confidentiality impact (VC:N), which matches an arbitrary-write/delete primitive rather than file read. Publicly available exploit code raises practical risk, and the dedicated VulnCheck advisory plus a public GitHub issue (#638) lower the bar for opportunistic attackers. Tempering this: no EPSS score was provided in the input, the vulnerability is NOT listed in CISA KEV, and ChatDev's real-world production footprint is limited, so widespread mass exploitation is less likely than targeted abuse of exposed instances. Arbitrary file write to locations like cron directories or application code can escalate to remote code execution, so the effective impact may exceed the literal C:N rating. |
| Exploit ScenarioDerived | An attacker who can reach an exposed ChatDev instance sends a POST request to the uploads session endpoint with a multipart filename like '../../../../etc/cron.d/payload', writing an attacker-controlled file outside the temp directory; because AV:N/AC:L/PR:N/UI:N, this needs no authentication, no user interaction, and only a single crafted request. Dropping a file into a cron directory or overwriting application code can escalate to server-side code execution, while the traversal-aware cleanup can instead be abused to delete arbitrary files and disrupt the service. Public exploit code for this path traversal is already available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 30, 2026
Arbitrary file write and delete in OpenBMB ChatDev through 2.2.0 lets unauthenticated remote attackers control destination paths on the server by abusing the multipart filename in the upload session endpoint. Because save_upload_file joins the attacker-supplied filename onto the temp directory without sanitization, a traversal or absolute-path filename redirects both the write and the subsequent cleanup unlink to arbitrary host locations. Publicly available exploit code exists and a vendor fix is available (commit 4fd4da6); there is no public exploit identified as actively exploited in CISA KEV at time of analysis.
Earlier versions of this analysis (2)
Arbitrary file write and delete in OpenBMB ChatDev through 2.2.0 allows unauthenticated remote attackers to plant or destroy files anywhere the server process can reach by abusing the session file-upload endpoint. The save_upload_file routine builds the destination path directly from the attacker-controlled multipart filename, so path-traversal sequences (../) or absolute paths escape the intended upload directory. Publicly available exploit code exists and a vendor patch (commit 4fd4da6) is available, though the issue is not listed in CISA KEV and no EPSS score was provided.
Arbitrary file write and delete in OpenBMB ChatDev through version 2.2.0 lets unauthenticated remote attackers control destination paths on the server filesystem by submitting a crafted multipart filename to the file-upload session endpoint. The save_upload_file routine builds the destination path without sanitization, so path traversal sequences or absolute paths redirect both the write and the subsequent cleanup/delete operation. Publicly available exploit code exists and the issue is fixed in commit 4fd4da6; no public exploit identified in CISA KEV at time of analysis.
RemediationAI
Upgrade to a ChatDev build that includes the fix commit 4fd4da603801766b14ad8788649cfc1ad21f99a6 (merged via PR https://github.com/OpenBMB/ChatDev/pull/641); since the upstream fix is a tagged commit/PR rather than a clearly named release, treat 'Upstream fix available (commit/PR); released patched version not independently confirmed' and pin to or beyond that commit. If you cannot patch immediately, do not expose the upload session endpoint to untrusted networks: restrict access to the POST uploads endpoint via authentication, a reverse-proxy allowlist, or network segmentation (trade-off: breaks remote/multi-user upload workflows), and run ChatDev under a low-privilege service account on a filesystem where the process cannot write to sensitive paths such as cron directories, web roots, or application source (trade-off: requires careful permission hardening and may interrupt legitimate file handling). As a code-level workaround mirroring the official fix, normalize the multipart filename to its basename before joining it to the storage directory. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/openbmb-chatdev-unauthenticated-path-traversal-in-upload-handler-allows-arbitrary-file-write-and-delete) for details.
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
ChatDev is OpenBMB's open-source multi-agent LLM framework for collaborative software development; the affected component is its FastAPI-based attachment/upload handler (server/services/attachment_service.py). The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / path traversal): the multipart 'filename' field is fully attacker-controlled, yet AttachmentService.save_upload_file used 'upload.filename or "upload.bin"' and joined it directly onto a freshly created temp directory. A filename such as '../../../etc/cron.d/x' or an absolute path '/abs/path/secret.key' escapes the intended temp/WareHouse area, so the file-write operation lands on an attacker-chosen path and the cleanup step's unlink then deletes that same traversed path. The fix introduces _safe_upload_filename, which normalizes both POSIX and Windows separators and reduces the input to its final basename (falling back to 'upload.bin' for empty, '.', or '..').
Know when Chatdev 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:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Unauthenticated single-request upload to a network endpoint gives AV:N/AC:L/PR:N/UI:N; arbitrary write/delete is I:H/A:H with no file read, so C:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.org
OpenBMB ChatDev through 2.2.0, fixed in commit 4fd4da6, contains a path traversal vulnerability that allows unauthenticated remote attackers to write or delete arbitrary files by supplying a malicious multipart filename in the file upload endpoint. Attackers can send a crafted filename containing path traversal sequences or an absolute path to the POST uploads session endpoint, which constructs the destination path without sanitization in save_upload_file, causing file write and cleanup operations to target attacker-chosen paths on the server filesystem.
Executive ViewAI
OpenBMB ChatDev (versions through 2.2.0) contains a remote file manipulation vulnerability allowing unauthenticated attackers to write to and delete files on affected servers, creating direct risk to data integrity and system availability. Publicly available exploit code exists for this vulnerability. Organizations using ChatDev must upgrade immediately to prevent potential data loss and system compromise.
Apply vendor patch.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
EUVD-2026-40373
GHSA-hh77-fhmp-pqfv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB