A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-47118

CVE-2026-47118: Agent Zero Path Traversal Vulnerability

CVE-2026-47118 is a path traversal vulnerability in Agent Zero before version 1.15 that lets unauthenticated attackers read arbitrary files. This article covers the technical details, affected versions, and mitigations.

Published: May 28, 2026

CVE-2026-47118 Overview

CVE-2026-47118 is a path traversal vulnerability [CWE-22] in Agent Zero versions before 1.15. The flaw exists in the image file serving endpoint, which validates requests using only an extension allowlist while the path containment check is explicitly disabled. Unauthenticated attackers can supply crafted paths to read arbitrary files with image extensions readable by the process. The vulnerable code path lacks canonicalization, allowing symlink-based escapes outside the agent workspace, user home directories, and mounted volumes.

Critical Impact

Unauthenticated remote attackers can read arbitrary files accessible to the Agent Zero process, exposing secrets, configuration data, and files on mounted volumes.

Affected Products

  • Agent Zero versions prior to 1.15
  • Deployments exposing the image_get API endpoint
  • Container and host environments with mounted volumes accessible to the Agent Zero process

Discovery Timeline

  • 2026-05-27 - CVE-2026-47118 published to NVD
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-47118

Vulnerability Analysis

The vulnerability resides in the Agent Zero image_get API handler in helpers/api.py. The endpoint serves image files from a path provided by the client. It checks the file extension against an allowlist but skips the path containment check that would restrict reads to the agent workspace. The path resolution logic does not canonicalize the supplied path before opening the file.

An unauthenticated attacker can request any file whose name ends in a permitted image extension. Because canonicalization is missing, attackers can also place or follow symbolic links pointing outside the intended directory. The result is arbitrary file read across the host file system, limited only by the process user's permissions.

Sensitive targets include credential files, private keys, environment configuration, kernel and runtime metadata files, and files within mounted Docker volumes. The attack requires no authentication and minimal interaction.

Root Cause

The root cause is reliance on extension filtering as the sole authorization check combined with a disabled containment check and missing path canonicalization. Extension allowlisting does not constrain the directory tree, so any readable file renamed or symlinked with an image extension is exposed.

Attack Vector

Attackers send HTTP requests to the image serving endpoint with paths containing traversal sequences such as ../ or absolute paths referencing files outside the workspace. Symlinks placed within the workspace can also redirect resolution to arbitrary targets.

python
# Security patch from helpers/api.py - resolves image_get containment bypass (#1609)
    url_for,
 )
 from werkzeug.wrappers.response import Response as BaseResponse
-from agent import AgentContext
 from helpers.print_style import PrintStyle
 from helpers.errors import format_error
 from helpers import files, cache

Source: GitHub Commit 1f2d512

python
# Security patch from helpers/runtime.py - removes settings import path used in bypass
 import secrets
 from pathlib import Path
 from typing import TypeVar, Callable, Awaitable, Union, overload, cast
-from helpers import dotenv, rfc, settings, files
+from helpers import dotenv, rfc, files
 import asyncio
 import threading
 import queue

Source: GitHub Commit 1f2d512

Detection Methods for CVE-2026-47118

Indicators of Compromise

  • HTTP requests to the image_get endpoint containing path traversal sequences such as ../, ..%2f, or URL-encoded variants.
  • Requests for image-extension paths targeting locations outside the agent workspace, such as /etc/, /root/, or mounted volume paths.
  • Unexpected file access events from the Agent Zero process to files outside its working directory.
  • Creation of symbolic links inside the workspace pointing to sensitive system paths.

Detection Strategies

  • Inspect Agent Zero web access logs for image_get requests whose path parameter contains traversal patterns or absolute paths.
  • Correlate process file-read telemetry with the Agent Zero process user to identify reads outside the expected workspace.
  • Apply web application firewall rules that normalize and reject paths containing .. segments or non-canonical encodings on the image endpoint.

Monitoring Recommendations

  • Forward Agent Zero application and access logs to a centralized logging platform and alert on traversal patterns.
  • Monitor for symlink creation events within the agent workspace directory using file integrity monitoring.
  • Track outbound responses with non-image MIME content originating from the image endpoint, which can indicate exfiltration of arbitrary files.

How to Mitigate CVE-2026-47118

Immediate Actions Required

  • Upgrade Agent Zero to version 1.15 or later, which restores path containment in the image_get handler.
  • Restrict network access to Agent Zero instances so the API is not reachable from untrusted networks until patched.
  • Run Agent Zero under a dedicated low-privilege user to limit the scope of arbitrary file reads.
  • Audit mounted volumes and remove sensitive host paths that the agent does not require.

Patch Information

The upstream fix is available in commit 1f2d5122265282d6b98bc36ee8f9d0f8ab76db9e and is tracked in Agent Zero Issue #1609. Additional analysis is published in the VulnCheck Advisory on Path Traversal.

Workarounds

  • Place Agent Zero behind an authenticated reverse proxy that blocks requests containing .., encoded traversal sequences, or absolute paths on the image endpoint.
  • Run the agent inside a minimal container with read-only mounts and no access to host secrets, SSH keys, or credential stores.
  • Disable or firewall the image_get endpoint at the proxy layer if image serving is not required for the deployment.
bash
# Example NGINX rule to block traversal patterns on the image endpoint
location /image_get {
    if ($args ~* "(\.\./|\.\.%2f|%2e%2e/|/etc/|/root/)") {
        return 403;
    }
    proxy_pass http://agent_zero_upstream;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechAgent Zero

  • SeverityHIGH

  • CVSS Score7.1

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Reference

  • GitHub Issue Discussion

  • VulnCheck Advisory on Path Traversal
  • Related CVEs
  • CVE-2026-47119: Agent Zero Stored XSS Vulnerability

  • CVE-2026-30624: Agent Zero 0.9.8 RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English