{
  "id": "CVE-2026-58166",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-58166",
  "published_at": "2026-06-30T15:51:20.9Z",
  "title": "OpenBMB ChatDev - Unauthenticated Path Traversal in Upload Handler Allows Arbitrary File Write and Delete",
  "vendor": "OpenBMB",
  "product": "ChatDev",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "OpenBMB",
        "product": "ChatDev",
        "ranges": [
          "\u003c= 2.2.0"
        ],
        "fixed_in": [
          "4fd4da603801766b14ad8788649cfc1ad21f99a6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ChatDev to 4fd4da603801766b14ad8788649cfc1ad21f99a6 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/OpenBMB/ChatDev/pull/641"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OpenBMB/ChatDev/commit/4fd4da603801766b14ad8788649cfc1ad21f99a6"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/OpenBMB/ChatDev/issues/638",
      "source": "cvelist",
      "title": "Researcher Disclosure",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
