CVE-2026-58166
Critical · CVSS 9.1OpenBMB ChatDev — Path Traversal arbitrary file write/delete via multipart filename
- CVSS
- 9.1
- nvd
- EPSS
- —
- KEV
- No
- Class
- oss containerizable
- CWE-22
Description
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.
Search profile — drives PoC discovery
Symbols save_upload_fileuploadssessionPOST /uploadsmultipart filename4fd4da603801766b14ad8788649cfc1ad21f99a6
Keywords CVE-2026-58166ChatDevOpenBMBpath traversalfile uploadmultipart filenamearbitrary file writesave_upload_fileupload endpointCWE-22unauthenticated
Versions: through 2.2.0, fixed in commit 4fd4da6
References
- https://github.com/OpenBMB/ChatDev/commit/4fd4da603801766b14ad8788649cfc1ad21f99a6
- https://github.com/OpenBMB/ChatDev/issues/638
- https://github.com/OpenBMB/ChatDev/pull/641
- https://www.vulncheck.com/advisories/openbmb-chatdev-unauthenticated-path-traversal-in-upload-handler-allows-arbitrary-file-write-and-delete
Status: enriched · ingested 2026-07-15T00:00:20.000Z · profiled 2026-07-15T00:30:20.000Z