CVE-2026-51853

Directory Traversal in agent-zero Grants Unrestricted File System Access

Published Sep 30, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
agent-zero 1.7, 1.8, 1.9, and 1.10 is vulnerable to Directory Traversal in python/helpers/file_browser.py:FileBrowser.__init__. The FileBrowser class initializes with the host root directory as the workspace, allowing the agent to access any file on the system without restriction.

Analysis

AI-generated

Technical impact

The vulnerability arises from a directory traversal flaw in the FileBrowser class of agent-zero (versions 1.7–1.10). The class sets the host's root directory as the workspace without validating paths, allowing the agent to read or write any file on the system. This flaw effectively provides unrestricted file‑system access and can lead to data disclosure. Based on the description, it is inferred that code execution could be achieved if the agent runs with elevated privileges, but the vulnerability description does not explicitly confirm that; it merely indicates full file‑system access.

Affected Systems

Agent-zero versions 1.7, 1.8, 1.9, and 1.10 are affected. The flaw exists in the python/helpers/file_browser.py module and applies to any host operating system because the code does not impose a restricted working directory. All deployments of these releases are potentially vulnerable.

Risk and Exploitability

The EPSS score indicates a very low but nonzero probability of exploitation (<1%), and the vulnerability is not listed in the CISA KEV catalog. The CVSS score of 7.5 classifies it as high severity, reflecting the potential for full file‑system compromise. Exploitation would require an attacker to influence the agent’s configuration or otherwise trigger the FileBrowser component locally; based on the description, it is inferred that the attacker would need local or privileged access to supply a malicious path.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a patched release of agent‑zero once it becomes available.
  • Run the agent under the least privilege possible, ideally in a sandboxed or chrooted environment with restricted filesystem access.
  • Modify the FileBrowser implementation to validate and normalize requested paths, ensuring the resolved absolute path remains within a preconfigured workspace directory.

Generated by OpenCVE AI on October 2, 2026 at 01:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Directory Traversal in agent-zero Grants Unrestricted File System Access
Type Values Removed Values Added
Title Directory Traversal Allows Full File System Access in Agent-Zero
Weaknesses CWE-200
Type Values Removed Values Added
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'}

Type Values Removed Values Added
Title Directory Traversal Allows Full File System Access in Agent-Zero
Weaknesses CWE-200
CWE-22
Type Values Removed Values Added
Description agent-zero 1.7, 1.8, 1.9, and 1.10 is vulnerable to Directory Traversal in python/helpers/file_browser.py:FileBrowser.__init__. The FileBrowser class initializes with the host root directory as the workspace, allowing the agent to access any file on the system without restriction.
References

Subscriptions

No data.

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 1, 2026, 6:49 PM
Reserved
Jun 8, 2026, 12:00 AM
Status
Deferred
Published
Sep 30, 2026, 9:17 PM
Modified
Oct 1, 2026, 7:17 PM