CVE-2026-58166
Received Received - Intake

Path Traversal in OpenBMB ChatDev

Vulnerability report for CVE-2026-58166, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-30

Last updated on: 2026-06-30

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-30
Last Modified
2026-06-30
Generated
2026-06-30
AI Q&A
2026-06-30
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
openbmb chatdev to 2.2.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-58166 is a path traversal vulnerability in OpenBMB ChatDev versions up to 2.2.0. It occurs in the file upload handler where the application fails to properly sanitize filenames supplied in multipart upload requests.

Attackers can supply malicious filenames containing path traversal sequences (like ../../../) or absolute paths to the upload endpoint. Because the server constructs the destination file path without validation, this allows attackers to write or delete arbitrary files anywhere on the server filesystem.

The vulnerable endpoint is the POST /api/uploads/{session_id}, which requires only a session ID that can be obtained without authentication. This means unauthenticated remote attackers can exploit this flaw.

Impact Analysis

This vulnerability allows attackers to write or delete arbitrary files on the server hosting OpenBMB ChatDev. This can lead to serious impacts including:

  • Overwriting critical system files such as shell configuration files or cron jobs, potentially enabling remote code execution.
  • Deleting important files on the host system, which can disrupt service or cause data loss.
  • Compromising the integrity and availability of the server by manipulating files outside the intended upload directory.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58166. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart