CVE-2026-40384 Joomla! Core - [20260510] - Path traversal in com_media webservice endpoint

Medium 5.9 Published Updated

Attackers can exploit improper validation in the com_media API to perform path traversal and read arbitrary files.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-40384?

CVE-2026-40384 is a medium-severity path traversal vulnerability in Joomla Joomla\!, published on 26 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An improper validation of the search parameter of the com_media files API endpoint leads to a path traversal vulnerability.

Weakness: CWE-22

Which versions are affected by CVE-2026-40384?

1 open source package ship an affected version, including joomla. It affects 1 product.

PackageAffectedFixed in
joomla BitnamiFrom 4.0.05.4.6, 6.1.1

Products include Joomla Joomla\!.

How do I fix CVE-2026-40384?

Upgrade joomla to a fixed version for your release line: 5.4.6 or 6.1.1.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-40384 being exploited?

There is no known exploitation of CVE-2026-40384 in the wild and no public exploit code.

All Joomla Joomla\! vulnerabilities

Sources

Also known as BIT-joomla-2026-40384, GHSA-hr66-rv65-f5r4.

Is CVE-2026-40384 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free