{"id":"CVE-2026-58166","published":"2026-06-30T15:51:20Z","modified":"2026-11-08T14:06:48Z","title":"OpenBMB ChatDev - Unauthenticated Path Traversal in Upload Handler Allows Arbitrary File Write and Delete","vendor":"OpenBMB","product":"ChatDev","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00854,"percentile":0.59182,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/OpenBMB/ChatDev/issues/638","tags":["technical-description","exploit","issue-tracking"]},{"url":"https://github.com/OpenBMB/ChatDev/pull/641","tags":["issue-tracking","patch"]},{"url":"https://github.com/OpenBMB/ChatDev/commit/4fd4da603801766b14ad8788649cfc1ad21f99a6","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/openbmb-chatdev-unauthenticated-path-traversal-in-upload-handler-allows-arbitrary-file-write-and-delete","tags":["third-party-advisory"]}],"priority":{"score":23.2,"factors":[{"name":"EPSS percentile","points":11.84},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"openbmb","affectedVersions":[{"vendor":"OpenBMB","product":"ChatDev","versions":["<= 2.2.0"]}],"fixedVersions":[{"vendor":"OpenBMB","product":"ChatDev","versions":["4fd4da603801766b14ad8788649cfc1ad21f99a6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-01T15:00:34.716754Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-40373","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/OpenBMB/ChatDev/issues/638"]}