OpenBMB ChatDev - Unauthenticated Path Traversal in Upload Handler Allows Arbitrary File Write and Delete
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58166
- 2026-10-03 Alias added: GHSA-hh77-fhmp-pqfv
References
More OpenBMB vulnerabilities
- TI-2026-50949 XAgent Path Traversal Arbitrary File Read via /workspace/file CVSS 4.0HIGH 8.7
- TI-2024-01867 OpenBMB XAgent Privileged Mode sandbox CVSS 3.1HIGH 8.8
- TI-2026-85970 Code injection in OpenBMB Internet of Agents Code Executor Tool CVSS 4.0MEDIUM 6.9
- TI-2026-04320 OpenBMB XAgent ShareServer WebSocket Endpoint share.py check_user missing authentication CVSS 4.0MEDIUM 6.9
- TI-2026-03418 OpenBMB XAgent workspace.py workspace path traversal CVSS 4.0MEDIUM 6.9
- TI-2026-04318 OpenBMB XAgent API Key function_handler.py FunctionHandler.handle_tool_call log file CVSS 4.0MEDIUM 5.1
Sources
- CVE-2026-58166 · CVE Program
- CVE-2026-58166 · NVD
- FIRST EPSS
- GHSA-hh77-fhmp-pqfv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences