Path Traversal in Openbmb Chatdev

CVE-2026-58166

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.006 (46.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-58166?
CVE-2026-58166 is a critical-severity vulnerability in Openbmb Chatdev, classified under Path Traversal. CVSS score: 9.1/10. Published 2026-06-30.
How severe is CVE-2026-58166?
Critical severity. CVSS v3 base score is 9.1 out of 10.