Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-58166: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in OpenBMB ChatDev

0
Critical
VulnerabilityCVE-2026-58166cvecve-2026-58166
Published: 06/30/2026 (06/30/2026, 15:51:20 UTC)
Source: CVE Database V5
Vendor/Project: OpenBMB
Product: ChatDev

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 v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected software

GitHub Actionsmore threats →cve
ChatDev
pkg:github/ChatDev
Affected versions
<=2.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/30/2026, 17:06:58 UTC

Technical Analysis

CVE-2026-58166 is a path traversal vulnerability in OpenBMB ChatDev (<=2.2.0) that permits unauthenticated remote attackers to write or delete arbitrary files on the server filesystem. The vulnerability occurs in the file upload endpoint where the application constructs the destination path from a multipart filename without sanitization, allowing attackers to use path traversal sequences or absolute paths. This enables manipulation of files outside the restricted directory, potentially impacting system integrity and availability. The issue is resolved in a later commit (4fd4da6).

Potential Impact

Exploitation of this vulnerability can lead to arbitrary file write and deletion on the server hosting OpenBMB ChatDev, potentially allowing attackers to modify or remove critical files. This can result in denial of service or further compromise of the server environment. The vulnerability requires no authentication and has a low attack complexity, making it highly dangerous.

Mitigation Recommendations

A fix for this vulnerability is available and was introduced in commit 4fd4da6. Users should upgrade OpenBMB ChatDev to a version that includes this fix. Until patched, restrict access to the file upload endpoint and monitor for suspicious activity related to file uploads. Patch status is not explicitly confirmed in a vendor advisory; therefore, verify the fix by applying the commit or an official update from the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-29T16:03:38.521Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a43f42f27e9c79719185edc

Added to database: 06/30/2026, 16:51:59 UTC

Last enriched: 06/30/2026, 17:06:58 UTC

Last updated: 07/01/2026, 02:05:21 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses