8.8high
OpenBMB ChatDev - Unauthenticated Path Traversal in Upload Handler Allows Arbitrary File Write and Delete
- Severity
- 8.8high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.85% (higher than 56% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenBMB ChatDev | up to 2.2.0 Not affected: 4fd4da603801766b14ad8788649cfc1ad21f99a6 | CVE List |
All scores
| VulnCheck | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| VulnCheck | 8.8high CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
OpenBMB ChatDev hasta la versión 2.2.0, corregido en el commit 4fd4da6, contiene una vulnerabilidad de salto de ruta que permite a atacantes remotos no autenticados escribir o eliminar archivos arbitrarios al proporcionar un nombre de archivo multipart malicioso en el endpoint de carga de archivos. Los atacantes pueden enviar un nombre de archivo manipulado que contenga secuencias de salto de ruta o una ruta absoluta al endpoint de sesión de cargas POST, que construye la ruta de destino sin sanitización en save_upload_file, lo que provoca que las operaciones de escritura y limpieza de archivos apunten a rutas elegidas por el atacante en el sistema de archivos del servidor.
References
| https://github.com/OpenBMB/ChatDev/issues/638 | exploit, issue-tracking, technical-description | |
| https://github.com/OpenBMB/ChatDev/pull/641 | issue-tracking, patch | |
| https://github.com/OpenBMB/ChatDev/commit/4fd4da603801766b14ad8788649cfc1ad21f99a6 | patch | |
| https://www.vulncheck.com/advisories/openbmb-chatdev-unauthenticated-path-traversal-in-upload-handler-allows-arbitrary-file-write-and-delete | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58166 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-58166 changed 2026-10-25 | Public domain |