CVE-2026-40384: CWE-22 Improper Limitation of a Pathname to a Restricted Directory in Joomla! Project Joomla! CMS
An improper validation of the search parameter of the com_media files API endpoint leads to a path traversal vulnerability.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-40384) in Joomla! CMS is caused by improper limitation of a pathname to a restricted directory (CWE-22) due to insufficient validation of the search parameter in the com_media files API endpoint. This flaw could allow an attacker with high privileges to perform a path traversal attack, potentially accessing files outside the intended directory scope. The affected versions include Joomla! CMS 4.0.0 through 5.4.5 and 6.0.0 through 6.1.0. The CVSS 4.0 vector indicates network attack vector, low attack complexity, partial attack traceability, and high vulnerability confidence.
Potential Impact
The vulnerability allows an attacker with high privileges to perform path traversal via the com_media files API endpoint, potentially accessing or manipulating files outside the intended directory. This could lead to unauthorized information disclosure or modification within the Joomla! CMS environment. However, exploitation requires high privileges, and there are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the Joomla! Project vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the com_media API endpoint to trusted users only and monitor for unusual activity related to file access. Avoid exposing administrative interfaces publicly.
CVE-2026-40384: CWE-22 Improper Limitation of a Pathname to a Restricted Directory in Joomla! Project Joomla! CMS
Description
An improper validation of the search parameter of the com_media files API endpoint leads to a path traversal vulnerability.
CVSS v4.0
Score 5.9medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-40384) in Joomla! CMS is caused by improper limitation of a pathname to a restricted directory (CWE-22) due to insufficient validation of the search parameter in the com_media files API endpoint. This flaw could allow an attacker with high privileges to perform a path traversal attack, potentially accessing files outside the intended directory scope. The affected versions include Joomla! CMS 4.0.0 through 5.4.5 and 6.0.0 through 6.1.0. The CVSS 4.0 vector indicates network attack vector, low attack complexity, partial attack traceability, and high vulnerability confidence.
Potential Impact
The vulnerability allows an attacker with high privileges to perform path traversal via the com_media files API endpoint, potentially accessing or manipulating files outside the intended directory. This could lead to unauthorized information disclosure or modification within the Joomla! CMS environment. However, exploitation requires high privileges, and there are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the Joomla! Project vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the com_media API endpoint to trusted users only and monitor for unusual activity related to file access. Avoid exposing administrative interfaces publicly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Joomla
- Date Reserved
- 2026-04-12T05:13:31.714Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a15d22b891d628fdc6007f1
Added to database: 5/26/2026, 5:02:35 PM
Last enriched: 5/26/2026, 5:33:49 PM
Last updated: 5/26/2026, 9:51:55 PM
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.