Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed image_get endpoint
-
DeliveryCraft image-extension path or symlink
-
ExploitBypass extension-only check, skip canonicalization
-
ExecutionServer resolves path outside workspace
-
PersistRead sensitive file
-
ImpactExfiltrate disclosed contents
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 targets the image-serving endpoint in api/image_get.py and requires only that the endpoint be network-reachable and that the requested path end in one of the allowed image extensions (.jpg, .jpeg, .png, .gif, .bmp, .webp, .svg, .ico, .svgz); no authentication is needed (PR:N). The key limiting factor is the extension allowlist: direct reads are confined to files that already carry an image extension, so reaching arbitrary non-image files (configs, keys) generally requires a symlink whose name has an image extension pointing at the real target, exploiting the absence of path canonicalization. Files are also only readable to the extent the Agent Zero process user can read them, so containerization or least-privilege execution narrows the reachable set. One caveat: the CVSS vector marks UI:P (passive user interaction), which conflicts with the description's depiction of direct attacker-driven requests - confirm whether any user interaction is genuinely required before downgrading urgency. |
| Impact | The CVSS 4.0 base score is 7.1 with vector AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N - network-reachable, low complexity, no privileges (unauthenticated), confidentiality-only impact, no integrity or availability effect. The exploit-maturity metric is Undefined (E:X) and no EPSS probability or SSVC decision data was provided, so likelihood must be judged from context rather than measured signals. There is no CISA KEV listing and no public exploit identified, so this is a credible but not actively-exploited disclosure. One conflict to verify: the vector sets UI:P (passive user interaction required), yet the description characterizes exploitation as an attacker directly supplying crafted paths with no user involvement - verify the user-interaction assumption with the vendor/VulnCheck advisory, as a true UI:N would raise practical risk. Overall this is a real priority for any Agent Zero instance whose API is reachable by untrusted clients, tempered by the fact that impact is limited to information disclosure and that direct reads are constrained to image-extension paths (with symlinks as the escape hatch). |
| Exploit ScenarioDerived | An attacker with network access to an exposed Agent Zero instance sends an HTTP request to the image-retrieval endpoint with a crafted path such as a traversal sequence or a symlink whose name ends in an allowed image extension (e.g. ../../../../etc/hostname.png or a symlink config.png pointing at a secret). Because only the extension is checked and the path is not canonicalized, the server returns the file's bytes base64-encoded or via send_file. Given AV:N/AC:L/PR:N, this requires no authentication and low effort, though no public proof-of-concept has been identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 27, 2026
Arbitrary file read in Agent Zero before version 1.15 lets remote unauthenticated attackers retrieve files outside the agent workspace through the image-serving API (api/image_get.py), which validates only the file extension while the directory-containment check is commented out. Any file readable by the process and bearing an allowed image extension can be disclosed, and symlinks can be abused to reach non-image targets because the path is never canonicalized. There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV; EPSS data was not provided.
RemediationAI
Vendor-released patch: upgrade to Agent Zero version 1.15 or later, which adds the _resolve_allowed_image_path() canonicalization-and-containment check (commit 1f2d5122265282d6b98bc36ee8f9d0f8ab76db9e); see the VulnCheck advisory at https://www.vulncheck.com/advisories/agent-zero-path-traversal-file-read-via-image-get-api and issue https://github.com/agent0ai/agent-zero/issues/1609. If immediate upgrade is not possible, restrict network reachability of the image_get API endpoint to trusted clients via a reverse proxy or firewall rule (trade-off: legitimate remote image rendering breaks for blocked clients), run the agent in a tightly scoped container that mounts only the workspace and no sensitive host volumes or home directories (trade-off: reduces the file set an attacker can reach but does not close the bug), and remove or avoid creating symlinks within reachable directories to limit canonicalization-based escapes. These are compensating controls only; patching to 1.15 is the sole complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Agent Zero is an open-source agentic-AI framework that exposes an HTTP API, including an image-retrieval endpoint implemented in api/image_get.py. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): the vulnerable code gated access purely on an extension allowlist (.jpg, .jpeg, .png, .gif, .bmp, .webp, .svg, .ico, .svgz) while the base-directory containment logic (files.is_in_base_dir / is_in_dir checks) was explicitly disabled via commented-out code, with a developer note stating 'no real need to check, we have the extension filter in place.' Because the supplied path was passed to files.fix_dev_path/send_file without canonicalization, ../ sequences and symbolic links resolved freely, allowing traversal beyond the agent workspace into user home directories and mounted volumes. The 1.15 fix introduces _resolve_allowed_image_path(), which resolves the candidate path with Path.resolve(strict=False) and enforces resolved.relative_to(base_dir), and adds nosniff plus a sandboxing Content-Security-Policy for SVG responses. No CPE strings were supplied in the source data.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (vulncheck) · only source for this CVE.
CVSS VectorVendor: vulncheck
Lifecycle Timeline
1DescriptionCVE.org
Agent Zero before version 1.15 contains a path traversal vulnerability that allows unauthenticated attackers to read arbitrary files by supplying crafted paths to the image file serving endpoint, which relies solely on an extension allowlist while the path containment check is explicitly disabled. Attackers can request any file with an image extension readable by the process, including files outside the agent workspace, user home directories, and mounted volumes, and can also leverage symlink-based escapes due to the lack of path canonicalization in the path resolution logic.
Executive ViewAI
Agent Zero versions below 1.15 expose a critical data breach risk, allowing unauthenticated remote access to extract sensitive files from agent systems. Affected organizations face potential exposure of credentials, configurations, and proprietary information without any authentication barrier. Immediate upgrade to version 1.15 is essential to close this unauthorized access pathway.
Apply vendor patch.
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.
EUVD-2026-32522
GHSA-8j45-8v5h-63vj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB