Description
OpenBMB XAgent v1.0.0 and before is vulnerable to path traversal in the file() function in XAgent/XAgentServer/application/routers/workspace.py. The input parameter “filename” is user-controllable and is concatenated into the file path to be read without proper validation, leading to a directory traversal vulnerability that may result in sensitive information disclosure.
Published: 2026-07-13
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenBMB XAgent version 1.0.0 and earlier contain a path traversal flaw in the file() function used by the XAgentServer. The multipart request parameter “filename” is user‑controllable and is concatenated directly into a file path without validation, allowing an attacker to read arbitrary files on the server and potentially expose confidential data. This flaw falls under CWE-22 and can lead to a compromise of data confidentiality.

Affected Systems

The affected product is OpenBMB XAgent. Versions v1.0.0 and earlier are vulnerable. No other vendors or product families are known to be impacted.

Risk and Exploitability

The CVSS score of 7.5 classifies the vulnerability as high severity, and the EPSS score of less than 1% indicates a very low but non‑zero exploitation probability; the KEV catalog does not list it. Attackers can trigger the flaw remotely by sending a crafted filename value to the file retrieval endpoint, and because the input is not authenticated or sanitized a single request can read arbitrary files located above the intended directory. The risk is primarily a breach of data confidentiality, with limited impact on integrity or availability.

Generated by OpenCVE AI on July 31, 2026 at 12:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a patched or newer release of OpenBMB XAgent that sanitizes the filename argument.
  • If a patch is not immediately available, enforce strict file name validation on the server, such as rejecting any value containing directory separators or absolute paths.
  • Protect the file retrieval endpoint by requiring authentication and limiting client IPs to trusted networks.
  • Continuously monitor web server logs for suspicious file access patterns and configure alerts for repeated traversal attempts.

Generated by OpenCVE AI on July 31, 2026 at 12:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 31 Jul 2026 12:45:00 +0000

Type Values Removed Values Added
Title Path Traversal in OpenBMB XAgent File Retrieval Endpoint

Sat, 25 Jul 2026 18:15:00 +0000

Type Values Removed Values Added
Title Path Traversal in OpenBMB XAgent File Retrieval Endpoint

Fri, 24 Jul 2026 08:15:00 +0000

Type Values Removed Values Added
Title Path Traversal in OpenBMB XAgent File Retrieval Endpoint

Sat, 18 Jul 2026 01:45:00 +0000

Type Values Removed Values Added
Title Path Traversal in OpenBMB XAgent File Retrieval Endpoint

Thu, 16 Jul 2026 16:45:00 +0000

Type Values Removed Values Added
Title Path Traversal Vulnerability in OpenBMB XAgent File Retrieval

Tue, 14 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Title Path Traversal Vulnerability in OpenBMB XAgent File Retrieval

Mon, 13 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22
Metrics cvssV3_1

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

ssvc

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


Mon, 13 Jul 2026 19:00:00 +0000

Type Values Removed Values Added
Description OpenBMB XAgent v1.0.0 and before is vulnerable to path traversal in the file() function in XAgent/XAgentServer/application/routers/workspace.py. The input parameter “filename” is user-controllable and is concatenated into the file path to be read without proper validation, leading to a directory traversal vulnerability that may result in sensitive information disclosure.
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-13T19:45:59.471Z

Reserved: 2026-02-16T00:00:00.000Z

Link: CVE-2026-26396

cve-icon Vulnrichment

Updated: 2026-07-13T19:45:54.607Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T12:30:16Z

Weaknesses
  • CWE-22

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