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-40384

CVE-2026-40384: com_media Path Traversal Vulnerability

CVE-2026-40384 is a path traversal flaw in the com_media files API endpoint caused by improper validation of the search parameter. This vulnerability allows unauthorized file access. This post covers technical details, affected versions, impact, and mitigation strategies.

Published: May 28, 2026

CVE-2026-40384 Overview

CVE-2026-40384 is a path traversal vulnerability in the Joomla com_media files API endpoint. The flaw results from improper validation of the search parameter accepted by the webservice endpoint. An authenticated attacker with elevated privileges can manipulate the parameter to traverse outside the intended media directory and access files on the server. The issue is tracked under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).

Critical Impact

Authenticated attackers with high privileges can read files outside the intended media directory through the com_media webservice endpoint, exposing sensitive configuration data.

Affected Products

  • Joomla CMS core (com_media component)
  • Joomla webservice API endpoints exposing the files resource
  • Installations referenced in the Joomla Security Advisory

Discovery Timeline

  • 2026-05-26 - CVE-2026-40384 published to the National Vulnerability Database (NVD)
  • 2026-05-26 - Last updated in NVD database

Technical Details for CVE-2026-40384

Vulnerability Analysis

The com_media component in Joomla exposes a files API through the webservice layer. The endpoint accepts a search parameter intended to filter media items by name. The component fails to normalize and validate the parameter against the configured media root. Attackers can submit traversal sequences such as ../ to navigate outside the media directory. The flaw permits read access to files beyond the intended scope of the media manager.

Root Cause

The root cause is improper input validation on a user-supplied path fragment. The search parameter is treated as trusted input and concatenated into filesystem lookups without canonicalization. Mapping under [CWE-22] confirms the issue is a classic path traversal pattern where the application does not enforce that the resolved path remains within the intended base directory.

Attack Vector

The vulnerability is exploitable over the network through the Joomla webservice API. The attack complexity is low, but exploitation requires high privileges, meaning the attacker must already hold an authenticated account with access to the com_media API. No user interaction is required. Successful exploitation impacts confidentiality, with no direct integrity or availability impact reported. The CVSS 4.0 base score is 5.9.

The vulnerability manifests in how the com_media files endpoint handles the search query parameter. See the Joomla Security Advisory for technical details.

Detection Methods for CVE-2026-40384

Indicators of Compromise

  • Webservice requests to the com_media files endpoint containing ../, ..%2f, or other encoded traversal sequences in the search parameter
  • Unexpected 200 responses from the media API referencing files outside the configured media root
  • Access patterns from authenticated high-privilege accounts targeting /api/index.php/v1/media/files with anomalous query strings

Detection Strategies

  • Inspect web server and Joomla access logs for requests to com_media API routes containing path traversal patterns in the search parameter
  • Correlate authenticated administrator API sessions with subsequent file read operations outside the media directory
  • Deploy WAF signatures that flag traversal sequences targeting Joomla webservice endpoints

Monitoring Recommendations

  • Enable verbose API logging on the Joomla webservice layer and forward logs to a centralized analytics platform
  • Alert on any decoded ../ patterns in query parameters submitted to /api/index.php/v1/media/* routes
  • Track privileged account activity for unusual media API calls outside normal administrative workflows

How to Mitigate CVE-2026-40384

Immediate Actions Required

  • Apply the Joomla security update referenced in the Joomla Security Advisory
  • Audit existing administrator and Super User accounts and revoke unnecessary high-privilege access to the media API
  • Review webservice logs for prior exploitation attempts targeting the search parameter

Patch Information

Joomla has published a security advisory addressing the improper validation of the search parameter in the com_media webservice endpoint. Administrators should upgrade to the fixed Joomla version specified in the advisory. The patch enforces canonicalization of the search input against the configured media root.

Workarounds

  • Disable the Joomla webservice API if it is not required for site operations
  • Restrict access to /api/index.php/v1/media/* endpoints through web server rules or IP allowlisting
  • Apply a WAF rule that blocks traversal sequences such as ../, ..%2f, and ..%5c in API query parameters
bash
# Example WAF rule to block traversal sequences in com_media search parameter
SecRule REQUEST_URI "@contains /api/index.php/v1/media/files" \
  "chain,deny,status:403,id:1042001,msg:'CVE-2026-40384 path traversal attempt'"
  SecRule ARGS:search "@rx (\.\./|\.\.%2[fF]|\.\.%5[cC])" "t:urlDecodeUni"

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechN/A

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/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
  • Joomla Security Advisory
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
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