Skip to main content

Agent Zero EUVDEUVD-2026-113288

| CVE-2026-51851 HIGH
Path Traversal (CWE-22)
2026-10-29 mitre GHSA-jmhq-mcj5-qjhx
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach agent-zero file-browser save endpoint
  2. Delivery
    Submit file path with ../ traversal sequences
  3. Exploit
    save_text_file writes without path validation
  4. Execution
    Overwrite config or plant executable file
  5. Impact
    Achieve code execution or tamper state

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to reach the agent-zero file-browser save feature that invokes FileBrowser.save_text_file, which accepts a user-controlled destination path with no normalization or validation; any request able to set that path can traverse outside the intended directory. Affected deployments are agent-zero versions 1.7, 1.8, 1.9, and 1.10. Limiting factors: the attacker must have network access to the agent-zero instance exposing this functionality, and the real-world reachability depends on whether the deployment places the file-browser/web UI behind authentication - the description does not state an authentication requirement and the supplied vector encodes PR:N, so authentication requirements are not independently confirmed from the available data.

Impact

Signals are mixed and point to a moderate, not emergency, priority. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes a network-reachable, low-complexity flaw with no stated authentication or user interaction, which drives the 7.5 base score - but the impact metrics (C:H/I:N/A:N) conflict with the described mechanism: a path-traversal flaw in a save_text_file method is an arbitrary file WRITE primitive, which is an integrity impact, not the confidentiality-only impact the input vector encodes. This discrepancy should be verified with the reporter, as it materially changes what the bug actually does. EPSS is low (0.24%, 16th percentile), the CVE is NOT on CISA KEV, and there is no SSVC block in the input; the only urgency signal is the vuln.today 'this_week' decision label, which is consistent with a real but non-critical fix timeline rather than act_now/emergency. A public PoC reference exists (a gist and the upstream GitHub issue) but it is not verified as working exploit code. Net: a genuine, straightforwardly reachable traversal bug in a niche product that warrants patching on a near-term schedule, but the low EPSS, absence of KEV listing, and limited deployment footprint argue against treating it as a widespread, high-urgency threat.

Exploit ScenarioDerived

An attacker able to reach the agent-zero web file-browser functionality submits a save-file request whose target path contains directory-traversal sequences (e.g. ../../), causing FileBrowser.save_text_file to write attacker-controlled content outside the intended working directory - for example overwriting a configuration file or planting a script in a location that is later executed. A public PoC reference (a gist and the upstream issue) exists but is not verified as working exploit code. Per the supplied CVSS the vector is network, low-complexity with no required user interaction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 04, 2026

Agent Zero 1.7 through 1.10 writes text files to attacker-chosen locations because FileBrowser.save_text_file in python/helpers/file_browser.py accepts a user-controlled destination path without normalization or validation, allowing classic path traversal (CWE-22). Per the independent assessment, the realistic impact is integrity - arbitrary file write outside the intended directory - rather than disclosure, and the instance must be network-reachable with the file-browser save feature exposed. Exploitation is not confirmed as active, EPSS is low at 0.24% (16th percentile), and the priority signal is 'this_week', i.e. a moderate issue rather than an emergency; the public references are a project issue and a third-party gist, with no working exploit code confirmed at time of analysis.

RemediationAI

No vendor-released patch or fixed version is identified in the available data, so the first step is to check the upstream project issue (https://github.com/agent0ai/agent-zero/issues/1541) and the vuldb/EUVD advisories for the current fix status before exposing the instance further. Until a fix is published, the most direct mitigation is to remove network reachability of the file-browser save functionality: bind the Agent Zero web interface to loopback or a private management network, or place it behind an authenticating reverse proxy and block untrusted clients, with the trade-off that the agent UI is no longer usable by remote users without that proxy or VPN. Additionally, run the Agent Zero process under an account whose write permissions are scoped to its own workspace directory so a successful traversal cannot touch sensitive paths - this limits but does not eliminate the issue, and it may break features that legitimately write elsewhere. Because the assessment confirms no authentication requirement from the available vector data, do not assume a login prompt is a sufficient control without independently verifying that the save endpoint is actually gated.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw sits in the file-browser helper of the Agent Zero Python application, specifically the FileBrowser.save_text_file method, which persists user-supplied text using a caller-provided path. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) applies because the code neither normalizes the incoming path nor verifies that the resolved destination stays inside the intended workspace directory - the kind of containment check normally implemented with canonicalization plus a common-prefix comparison. A path containing '..' segments or an absolute path can therefore resolve outside the sandboxed area, and because the operation is a write primitive the consequence is modification or creation of files on the host filesystem where the Agent Zero process has permissions, not disclosure of file contents. The supplied CPE strings are unpopulated (n/a:n/a), so product identification rests on the description and the EUVD record rather than on structured CPE version ranges; the trigger for the traversal itself is described only at the level of 'user-controlled file paths without normalization or validation', and no further mechanism detail is given in the available sources.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

A traversal in save_text_file is an arbitrary file-write (integrity) primitive, so I:H and C:N; network-reachable and low-complexity with no stated auth per the description, hence AV:N/AC:L/PR:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Nov 04, 2026 - 01:22 NVD
7.5 (HIGH)
CVE Published
Oct 29, 2026 - 00:00 cve.org
HIGH 7.5
CVE Published
Oct 29, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

modelscope agent-zero 1.7, 1.8, 1.9, and 1.10 is vulnerable to Directory Traversal in python/helpers/file_browser.py:FileBrowser.save_text_file. The save_text_file method accepts user-controlled file paths without normalization or validation, allowing path traversal attacks.

Executive ViewAI

Why It Matters

CVE-2026-51851 is a high-severity path traversal vulnerability in Agent Zero versions 1.7 through 1.10 that allows an attacker to write arbitrary files to attacker-chosen locations on the server. Organizations running these Agent Zero versions with the file-browser save feature exposed to the network face potential integrity compromise, including unauthorized modification of application files or configuration. Leadership should prioritize remediation within the week as a moderate-risk issue, with no evidence of active exploitation.

Business Impact: Medium
Compensating Controls

Restrict network access to the file-browser save feature to trusted users and networks; disable the feature if not essential; deploy a web application firewall to filter path traversal patterns; monitor file integrity on affected systems.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
open-source AI agent framework, limited real-world production footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy