Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach agent-zero file-browser endpoint
-
DeliverySubmit base64 payload with ../ traversal path
-
ExploitBypass missing path normalization
-
ExecutionWrite file to arbitrary location
-
ImpactOverwrite config or drop executable payload
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 network reachability to the agent-zero file-browser functionality that invokes save_file_b64, which accepts a user-controlled destination path and base64 content without normalization or validation; an attacker supplies traversal sequences (e.g., ../) to write outside the intended directory. Realistic limiting factors: the instance must be network-exposed, and exploitation presupposes the file-browser/web UI is reachable - if the deployment places authentication in front of the UI (not confirmed from the data), an attacker would first need valid access, so the input's PR:N should be validated against the actual default auth posture of versions 1.7-1.10. |
| Impact | Signals are mixed and point to a moderate, not urgent, priority. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes a trivially reachable network attack with no authentication or user interaction, which would normally elevate priority. However, EPSS is low (0.33%, 24th percentile), there is no CISA KEV listing, and no SSVC decision data was provided, which together argue against widespread or automated exploitation today. There is also a material data conflict: the method named (save_file_b64) is a base64 file-WRITE primitive, so the real-world impact should be integrity/arbitrary-file-write, yet the input vector encodes C:H/I:N/A:N (confidentiality-only) - verify with the vendor/advisory, because a write-based traversal that is scored as read-only likely understates integrity impact and the eventual code-execution potential. A GitHub issue and a public gist are referenced, suggesting exploit or proof-of-concept detail is publicly circulating. Net: a genuine, easily-reachable flaw in the affected product, but low current exploitation pressure and a small deployment footprint keep it below top-tier priority - patch promptly but not as an emergency. |
| Exploit ScenarioDerived | An attacker with network access to an exposed agent-zero instance sends a crafted request to the file-browser save_file_b64 endpoint containing a base64 payload and a path such as '../../..' to escape the intended upload directory, writing an attacker-controlled file to an arbitrary filesystem location. A referenced public gist appears to document the technique, lowering the barrier to reproduction. Depending on where the file lands (e.g., a startup script, config, or web-served path), this can escalate from file write to code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Directory traversal in agent-zero 1.7 through 1.10 allows remote attackers to write files to arbitrary locations outside the intended file-browser directory via the save_file_b64 method, with the evaluated CVSS vector indicating PR:N/UI:N and high integrity impact according to the authoritative assessment. No CISA KEV listing was provided, and no public exploit identified at time of analysis; EPSS is 0.33% (24th percentile), and the supplied CVSS 3.1 score is 7.5, though the independent assessment shifts the impact from confidentiality to integrity (C:N/I:H/A:N) because exploitation concerns unauthorized file writes rather than reads.
RemediationAI
No vendor-released patch identified at time of analysis; the references point to an upstream issue and a public gist rather than to a tagged fixed release or commit. Until a patched version is available, restrict network access to the agent-zero web UI and file-browser endpoints using a reverse proxy or firewall so that only trusted users can reach the save_file_b64 functionality; the trade-off is reduced remote manageability. Enforce authentication and authorization in front of the UI if the deployment does not already do so, since the evaluated vector is PR:N but practical deployments may layer auth. If file save/upload is not required, disable or remove the file-browser save capability or block requests to that handler; this may break legitimate file upload and editing workflows. Run agent-zero with a least-privilege service account whose filesystem write permissions are confined to the intended data directory, and monitor for file creation or modification outside that directory; least privilege can cause legitimate operations to fail if the agent requires broader write access. Review the upstream issue at https://github.com/agent0ai/agent-zero/issues/1540 and the gist at https://gist.github.com/Ro1ME/13af0869833757245685d2d390458664 for any future fix guidance, and track the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-51852.
Affected VersionsENISA
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 resides in agent-zero's Python file browser helper, specifically python/helpers/file_browser.py:FileBrowser.save_file_b64. This method takes a base64-encoded payload and a user-controlled destination path, then writes the decoded content without canonicalizing or validating the path against traversal sequences such as ../. CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') is the root cause class. agent-zero is a Python-based autonomous agent framework, and its file-browser web functionality is network-reachable in the affected releases. The supplied CPE string is n/a, so exact CPE-level version mapping is unavailable, but the description and EUVD affected-version data consistently identify versions 1.7, 1.8, 1.9, and 1.10. The evaluated CVSS vector is AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N; the integrity impact reflects the ability to create or overwrite files outside the intended directory, while some feed metadata originally listed confidentiality impact. Authentication posture may vary: the vector is PR:N, but if a deployment places authentication in front of the web UI, exploitation would require valid access.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
save_file_b64 is a file-write primitive, so impact is integrity (I:H), not confidentiality; network-reachable with no normalization makes AV:N/AC:L, and PR:N is retained from input but auth posture is unverified.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
agent-zero 1.7, 1.8, 1.9, and 1.10 is vulnerable to Directory Traversal in python/helpers/file_browser.py:FileBrowser.save_file_b64. The save_file_b64 method accepts user-controlled file paths without normalization or validation, allowing path traversal attacks.
Executive ViewAI
Agent-zero versions 1.7 through 1.10 contain a high-severity directory traversal flaw that allows unauthenticated remote attackers to write files outside the intended file-browser directory, putting application and host data integrity at risk. No vendor-released patch identified at time of analysis and no public exploit identified at time of analysis, but organizations running these versions in exposed or shared environments should treat the issue as a material risk because unauthorized file writes can undermine platform integrity and require remediation. Leadership should prioritize asset inventory, access restriction, and integrity monitoring for any affected agent-zero deployment.
No vendor-released patch identified at time of analysis; interim mitigations include restricting access to agent-zero 1.7 through 1.10 via network segmentation, VPN, or authenticated reverse proxy, disabling or constraining the file-browser/save_file_b64 capability if not required, running the service with least privilege in an isolated container, applying WAF rules for directory traversal, and monitoring/alerting on unexpected file writes outside intended directories.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
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
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-90426
GHSA-h2gv-ghr5-8mhj
NVD
CVE.org
EPSS
Exploit-DB