CVE-2026-58166
JSON

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 packageVersionsReported by
OpenBMB ChatDevup to 2.2.0
Not affected: 4fd4da603801766b14ad8788649cfc1ad21f99a6
CVE List

All scores

VulnCheck9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
VulnCheck8.8high CVSS:4.0CVSS: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

CWE-22

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

Sources

SourceRecordLicence
CVE ListCVE-2026-58166 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-58166 changed 2026-10-25Public domain