CVE-2026-26396
Deferred Deferred - Pending Action

Path Traversal in OpenBMB XAgent

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

Publication date: 2026-07-13

Last updated on: 2026-07-13

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-13
Last Modified
2026-07-13
Generated
2026-08-03
AI Q&A
2026-07-14
EPSS Evaluated
2026-08-01
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
openbmb xagent to 1.0.0 (exc)
openbmb xagent 1.0.0

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-26396 is a path traversal vulnerability in OpenBMB XAgent version 1.0.0 and earlier. The vulnerability exists in the file() function within the file XAgent/XAgentServer/application/routers/workspace.py.

The issue occurs because the input parameter 'filename' is user-controllable and is directly concatenated into a file path without proper validation. This allows attackers to manipulate the path using sequences like '../../' to traverse directories and access files outside the intended directory.

As a result, this vulnerability can lead to unauthorized disclosure of sensitive information stored on the server.

Detection Guidance

To detect the CVE-2026-26396 path traversal vulnerability in OpenBMB XAgent v1.0.0 and before, you can check for the presence of the vulnerable endpoint and test for improper input validation in the 'filename' parameter.

  • Identify if the vulnerable version of OpenBMB XAgent is running. Check the version of the installed software to confirm it is v1.0.0 or earlier.
  • Use a web request tool like curl to send a crafted request to the vulnerable endpoint. For example, attempt to access a file outside the intended directory by using path traversal sequences like '../../'. A sample command might look like: curl 'http://<target>/workspace/file?filename=../../../../etc/passwd'.
  • Monitor the server response. If the server returns the contents of the requested file (e.g., /etc/passwd), the system is vulnerable.
  • Use vulnerability scanning tools that include checks for CVE-2026-26396. These tools can automate the detection process by sending test requests and analyzing responses.
Impact Analysis

This vulnerability can impact you in several ways:

  • Sensitive information disclosure: An attacker could access confidential files on the server, such as configuration files, credentials, or other sensitive data.
  • Unauthorized access: If the server stores user data or proprietary information, an attacker could retrieve and misuse this information.
  • Compromise of system integrity: While this specific vulnerability does not allow for code execution or modification of files, the disclosed information could be used to facilitate further attacks on the system.
Compliance Impact

This vulnerability can affect compliance with common standards and regulations in the following ways:

  • GDPR (General Data Protection Regulation): If the exposed files contain personal data of EU citizens, unauthorized access could lead to a data breach. GDPR requires organizations to protect personal data and report breaches within 72 hours. Failure to do so may result in significant fines.
  • HIPAA (Health Insurance Portability and Accountability Act): If the server stores protected health information (PHI), this vulnerability could lead to unauthorized disclosure of PHI. HIPAA mandates strict safeguards for PHI, and breaches can result in penalties and legal consequences.
  • Other standards: Compliance frameworks like ISO 27001, PCI DSS, or NIST guidelines require organizations to implement proper access controls and protect sensitive information. A path traversal vulnerability could indicate a failure to meet these requirements, leading to non-compliance and potential penalties.
Mitigation Strategies

To mitigate CVE-2026-26396, follow these immediate steps to reduce the risk of exploitation.

  • Upgrade OpenBMB XAgent to the latest version if a patch is available. Check the official OpenBMB website or repository for updates.
  • If upgrading is not immediately possible, apply temporary mitigations such as input validation or sanitization. Ensure the 'filename' parameter in the file() function is properly validated to block path traversal sequences like '../'.
  • Restrict access to the vulnerable endpoint by implementing network-level controls such as firewalls or access control lists (ACLs) to limit exposure to trusted users only.
  • Monitor network traffic and logs for suspicious activity, such as repeated requests attempting to access files outside the intended directory.
  • Consider disabling the vulnerable endpoint if it is not critical to operations until a patch can be applied.

Chat Assistant

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

EPSS Chart