CVE-2026-51912: OpenBMB XAgent directory traversal in file upload

CVE-2026-51912 · Severity: info · Published 2026-10-29

XAgent is an autonomous agent framework that uses a ToolServer component to handle file uploads. A directory traversal vulnerability in the upload handler allows an attacker to write files to arbitrary locations on the server by manipulating the filename parameter, potentially leading to code execution or data compromise.

Technologies: OpenBMB XAgent. Vendors: OpenBMB.

Quick answers

Is CVE-2026-51912 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-51912 being exploited in the wild.
How severe is CVE-2026-51912?
Informational severity, published 29 October 2026.
Which products and versions are affected?
OpenBMB XAgent v1.0.0.
Is there a fix for CVE-2026-51912?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-51912 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-51912?
Check whether you run OpenBMB XAgent at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A directory traversal vulnerability exists in ToolServer/ToolServerNode/main.py at the /upload_file endpoint (line 46), where user-supplied filename parameters are not properly sanitized before constructing file paths. An attacker can inject path traversal sequences (e.g., ../) to write files outside the intended upload directory. This requires network access to the ToolServer HTTP endpoint, typically listening on localhost:8080.

Affected products

  • OpenBMB XAgent v1.0.0

Timeline

  • 2026-10-29: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.