Skip to main content

Agent Zero CVE-2026-47118

| EUVDEUVD-2026-32522 HIGH
Path Traversal (CWE-22)
2026-05-27 disclosure@vulncheck.com GHSA-8j45-8v5h-63vj
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed image_get endpoint
  2. Delivery
    Craft image-extension path or symlink
  3. Exploit
    Bypass extension-only check, skip canonicalization
  4. Execution
    Server resolves path outside workspace
  5. Persist
    Read sensitive file
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Agent-Zero 0 <1.15

Affected Packages

euvd agent_zero fix: 1.15

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

Vendor (vulncheck) PRIMARY 7.1 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
May 27, 2026 - 19:46 EUVD

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Data Quality
7 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.1%
Patch available Yes
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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.

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