CVE-2026-129385 in Joomla! Extension
Summary
by MITRE • 11/24/2026
Joomla! Core - [20261148] - Core - Information disclosure in mail template SMTP settings in Joomla 4.0.0-5.4.10, 6.0.0-6.2.0 - Mail templates with an own SMTP host could send the global SMTP credentials to a host chosen by a non super user.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/24/2026
The vulnerability identified under CVE ID 20261148 represents a critical information disclosure flaw within the Joomla! content management system, 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 security issue is rooted in the handling of mail templates that utilize custom SMTP configurations. In a typical Joomla installation, global SMTP settings are configured at the administrative level to manage outgoing email communications securely. These credentials often include sensitive authentication details such as usernames and passwords required for relay servers like Gmail, SendGrid, or Amazon SES. The vulnerability arises when an administrator creates a specific mail template that defines its own distinct SMTP host configuration rather than inheriting the global settings.
The core technical flaw lies in the insufficient access control checks performed during the processing of these custom SMTP configurations. Specifically, the system fails to adequately restrict which user roles are permitted to trigger or utilize templates configured with external SMTP hosts. As a result, users who do not hold Super User privileges can inadvertently cause the application to transmit global SMTP credentials to an arbitrary host specified within such a template. This behavior bypasses the intended security boundary that separates administrative configuration data from standard user operations. The vulnerability effectively allows lower-privileged accounts to exfiltrate high-value authentication secrets by leveraging the mail functionality, which is often accessible through various frontend or backend interfaces depending on the specific site configuration and extensions installed.
From an operational impact perspective, this information disclosure poses a severe risk to the integrity of email infrastructure associated with the Joomla installation. If attackers successfully exploit this flaw, they can obtain valid SMTP credentials that are typically used for transactional emails such as password resets, order confirmations, or user notifications. Possession of these credentials allows adversaries to impersonate the organization via email, facilitating sophisticated phishing campaigns, business email compromise attacks, and spam distribution. Furthermore, since SMTP servers often maintain logs of sent messages, attackers could potentially use these stolen credentials to send malicious payloads while maintaining a legitimate sender identity, thereby increasing the likelihood that recipients will trust the communications. The exposure also compromises the confidentiality aspect of the CIA triad for all systems relying on those specific email relay services.
This vulnerability aligns with CWE-200, which classifies information exposure as an issue where sensitive data is disclosed to unauthorized actors without malicious intent necessarily being present in the initial action but resulting from poor access control or logic flaws. In terms of offensive security frameworks, this behavior maps closely to ATT&CK technique T1539, Steal Web Session Cookie, although adapted for credential theft via application logic rather than session hijacking. It also relates to CWE-284 Improper Access Control because the system does not properly restrict access to sensitive configuration data based on user roles. The attack vector is typically classified as remote with low complexity if the Joomla site allows public registration or has other avenues for non-administrative users to interact with mail templates, such as through contact forms that utilize custom SMTP settings defined by administrators.
Mitigation strategies must focus on immediate patching and rigorous access control reviews. Administrators should upgrade their Joomla installations to versions later than 5.4.10 and 6.2.0 where this logic flaw has been corrected in the core codebase. Until patches are applied, it is advisable to audit all mail templates for custom SMTP configurations and ensure that no such templates exist unless absolutely necessary. If custom SMTP settings must be used, administrators should restrict access to those specific template editing interfaces using third-party extensions or server-level rules if possible. Additionally, implementing strict role-based access control policies ensures that only Super Users can modify global configuration parameters related to email delivery. Monitoring SMTP server logs for unusual sending patterns from the compromised account can also help in detecting exploitation attempts early. Regular security audits and penetration testing should be conducted to identify similar logic flaws in other modules or components that handle sensitive configuration data.