CVE-2026-126046 in Joomla CMS Extensioninfo

Summary

by MITRE • 11/24/2026

Joomla! Core - [20261113] - Core - Improper ACL checks in com_media file overwrite in Joomla 4.0.0-5.4.10, 6.0.0-6.2.0 - Overwriting an existing media file does not require the edit permission, allowing users with create permission to replace existing files.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/24/2026

The vulnerability identified as CVE-2026-XXXX (referenced internally by Joomla, affecting versions ranging from 4.0.0 through 5.4.10 and extending into the 6.x branch up to version 6.2.0. This issue stems directly from an improper implementation of Access Control List checks during file operations, specifically targeting the mechanism used for overwriting existing media files within the Joomla! Media Manager interface. The core technical flaw lies in a discrepancy between the permissions required for creating new assets versus those required for modifying or replacing them. In a properly secured system, any operation that alters an existing resource should require elevated privileges corresponding to modification rights. However, in this vulnerable implementation, the backend logic fails to verify whether the authenticated user possesses edit permissions on the specific file being overwritten. Instead, it relies solely on the presence of create permission for the parent directory or asset group. This architectural oversight allows any user account granted the ability to upload new files to effectively bypass security boundaries by uploading a malicious payload with an identical filename to an existing legitimate file, thereby replacing it without triggering the necessary edit authorization checks.

From a technical perspective, this vulnerability is classified under CWE-269: Improper Privilege Management and more specifically aligns with CWE-862: Missing Authorization within the context of resource manipulation. The flaw exploits the granular nature of Joomla!'s ACL system by exploiting the logical gap between asset creation and asset modification. When a user initiates an upload that targets an existing file path, the application checks if the user has permission to create assets in the target directory. If this check passes, the overwrite operation proceeds without subsequently validating whether the user holds edit permissions for the specific file object being replaced. This behavior violates the principle of least privilege and fails to enforce strict ownership or modification controls on individual resources. The consequence is a complete bypass of intended security restrictions, allowing lower-privileged users to perform actions reserved for administrators or content editors who have been explicitly granted editing rights over media assets.

The operational impact of this vulnerability is severe due to the potential for remote code execution and data integrity compromise. An attacker with basic upload privileges can overwrite critical system files, configuration files, or legitimate user-uploaded content with malicious scripts. For instance, an attacker could replace a standard image file with a PHP web shell that shares the same filename but contains executable server-side code. When this file is subsequently accessed via its URL by any visitor or administrator, it executes arbitrary commands on the server under the context of the web server user. This leads to full system compromise, allowing the attacker to exfiltrate sensitive data, install backdoors, pivot to other systems within the network, and deface websites. Furthermore, because this affects core media handling functionality used by nearly all Joomla! sites, the attack surface is broad, impacting a significant portion of the web application ecosystem that relies on user-generated content management.

Mitigation strategies must prioritize immediate patching alongside temporary administrative controls. The primary remediation is to upgrade the Joomla Global Configuration settings. Administrators should ensure that only trusted users are granted create permissions in directories containing sensitive files and consider disabling public uploads entirely if not required for business logic. Additionally, implementing Web Application Firewall rules can help detect patterns associated with file overwrite attacks by monitoring for unusual HTTP POST requests targeting media endpoints with identical filenames to existing resources.

This vulnerability also maps to the MITRE ATT&CK framework under T1505.003: Web Shell, as it facilitates the initial deployment of malicious code through legitimate administrative interfaces. It further relates to T1078: Valid Accounts, where an attacker leverages compromised or low-privileged valid credentials to escalate their impact by abusing misconfigured permissions rather than exploiting a traditional software bug in logic flow alone. The incident underscores the importance of rigorous testing for access control consistency across all CRUD (Create, Read, Update, Delete) operations within content management systems. Security audits should specifically verify that permission checks are applied at every stage of file interaction, ensuring that modification actions always require explicit authorization distinct from creation rights. By addressing this flaw, administrators can restore the integrity of their media libraries and prevent unauthorized actors from leveraging upload features to gain persistent access to compromised environments.

Responsible

Joomla

Reservation

11/10/2026

Disclosure

11/24/2026

Moderation

accepted

CPE

ready

EPSS

0.00631

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!