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.
Published: 2026-06-30
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A path traversal flaw exists in the upload handler of OpenBMB ChatDev that can be exploited by any remote user without authentication. The flaw allows an attacker to supply a specially crafted multipart filename containing path traversal sequences or an absolute path to the upload endpoint. The server then constructs a destination path without sanitization, enabling the attacker to write or delete any file on the system that the application process can access. Depending on the target file, this can lead to further compromise, such as injection of malicious binaries or alteration of critical configuration files, potentially enabling remote code execution, data loss, or service disruption.

Affected Systems

OpenBMB ChatDev versions 2.2.0 and earlier are affected. The vulnerability was fixed in commit 4fd4da603801766b14ad8788649cfc1ad21f99a6, which applies to all later releases. Users running the unpatched 2.2.0 series should review their build and apply the fix or upgrade beyond 2.2.0.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity, while the EPSS score is not available. The vulnerability is not listed in CISA’s KEV catalog. Attackers can exploit the flaw remotely by sending a crafted upload request to the POST uploads session endpoint; no credentials are required. If file permissions permit, the attacker can overwrite system files or deploy malware. The risk is therefore significant and the exploit is straightforward for an unauthenticated remote attacker.

Generated by OpenCVE AI on June 30, 2026 at 17:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenBMB ChatDev to a version patched with commit 4fd4da603801766b14ad8788649cfc1ad21f99a6 (any release newer than 2.2.0).
  • Modify the upload handler to validate the filename: reject any request containing '..' or a leading slash, and normalize paths before writing to disk.
  • Restrict the file upload directory to a dedicated, write‑only location owned by a non‑privileged user and enforce strict ownership and permission checks to prevent overwriting of sensitive system files.

Generated by OpenCVE AI on June 30, 2026 at 17:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 01 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Openbmb
Openbmb chatdev
Vendors & Products Openbmb
Openbmb chatdev

Tue, 30 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title OpenBMB ChatDev - Unauthenticated Path Traversal in Upload Handler Allows Arbitrary File Write and Delete
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}

cvssV4_0

{'score': 8.8, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T21:34:53.320Z

Reserved: 2026-06-29T16:03:38.521Z

Link: CVE-2026-58166

cve-icon Vulnrichment

Updated: 2026-07-01T15:00:39.220Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T10:01:21Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')