CVE-2026-40384: CWE-22 Improper Limitation of a Pathname to a Restricted Directory in Joomla! Project Joomla! CMS
CVE-2026-40384 is a medium severity path traversal vulnerability in Joomla! CMS affecting versions 4.0.0 through 5.4.5 and 6.0.0 through 6.1.0.
AI Analysis
Technical Summary
This vulnerability in Joomla! CMS is due to improper limitation of a pathname to a restricted directory (CWE-22) via the search parameter in the com_media files API endpoint. This improper validation can lead to path traversal, potentially allowing an attacker with high privileges to access files outside the intended directory scope. The affected versions include 4.0.0 to 5.4.5 and 6.0.0 to 6.1.0. The CVSS 4.0 vector indicates network attack vector, low attack complexity, partial attack traceability, and high impact on confidentiality. No patch or official remediation level has been published yet.
Potential Impact
Successful exploitation could allow an attacker with high privileges to traverse directories and access files outside the intended media directory, potentially exposing sensitive information. However, the vulnerability requires high privileges and does not impact integrity or availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Joomla! Project vendor advisory for current remediation guidance. Until a fix is available, restrict access to the com_media API endpoint to trusted users with appropriate privileges and monitor for suspicious activity related to path traversal attempts.
CVE-2026-40384: CWE-22 Improper Limitation of a Pathname to a Restricted Directory in Joomla! Project Joomla! CMS
Description
CVE-2026-40384 is a medium severity path traversal vulnerability in Joomla! CMS affecting versions 4.0.0 through 5.4.5 and 6.0.0 through 6.1.0.
CVSS v4.0
Score 5.9medium
Affected software
pkg:composer/joomla/joomla-cmsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Joomla! CMS is due to improper limitation of a pathname to a restricted directory (CWE-22) via the search parameter in the com_media files API endpoint. This improper validation can lead to path traversal, potentially allowing an attacker with high privileges to access files outside the intended directory scope. The affected versions include 4.0.0 to 5.4.5 and 6.0.0 to 6.1.0. The CVSS 4.0 vector indicates network attack vector, low attack complexity, partial attack traceability, and high impact on confidentiality. No patch or official remediation level has been published yet.
Potential Impact
Successful exploitation could allow an attacker with high privileges to traverse directories and access files outside the intended media directory, potentially exposing sensitive information. However, the vulnerability requires high privileges and does not impact integrity or availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Joomla! Project vendor advisory for current remediation guidance. Until a fix is available, restrict access to the com_media API endpoint to trusted users with appropriate privileges and monitor for suspicious activity related to path traversal attempts.
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: 05/26/2026, 17:02:35 UTC
Last enriched: 06/02/2026, 21:25:48 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 83
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.