CVE-2026-132734 in MediaWiki
Summary
by MITRE • 11/25/2026
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Wikimedia Foundation MediaWiki - ExternalData Extension. This vulnerability is associated with program files includes/connectors/EDConnectorDb.php, includes/connectors/EDConnectorLdap.php, includes/presets/Test.php, includes/presets/docker-compose.yml. This issue affects MediaWiki - ExternalData Extension: 1.43, 1.45, 1.46, 1.47.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
The vulnerability identified in the Wikimedia Foundation's MediaWiki External Data extension constitutes a critical exposure of sensitive information to unauthorized actors, primarily stemming from improper handling of configuration and connection parameters within several core program files including EDConnectorDb.php, EDConnectorLdap.php, Test.php, and docker-compose.yml. This flaw affects multiple versions of the extension ranging from 1.43 through 1.47, indicating a systemic issue in how sensitive data such as database credentials, LDAP server details, or internal configuration states are managed during runtime operations. The presence of this vulnerability suggests that under specific conditions, an attacker who gains access to the application context may be able to retrieve confidential information that should remain restricted, potentially leading to further compromise of the underlying infrastructure.
From a technical perspective, the root cause lies in the insufficient sanitization or secure handling of data within the connector modules and preset configurations. In EDConnectorDb.php and EDConnectorLdap.php, which are responsible for establishing connections to external databases and LDAP directories respectively, there appears to be a failure to properly mask or restrict access to connection strings or error messages that might leak internal details such as hostnames, port numbers, authentication mechanisms, or even partial credentials. Similarly, the inclusion of sensitive information in Test.php and docker-compose.yml indicates that development or deployment artifacts may inadvertently expose configuration secrets if these files are accessible via web paths or version control systems without proper access controls. This aligns with CWE-200, which defines exposure of sensitive information to an unauthorized actor as a class of vulnerabilities where software does not protect user data from being accessed by unintended parties.
The operational impact of this vulnerability is significant for organizations relying on MediaWiki and the External Data extension for knowledge management or internal documentation systems. If exploited, attackers could gain insights into the network topology, database structures, and authentication methods used by the wiki instance. This information serves as valuable reconnaissance data that can facilitate more targeted attacks such as SQL injection, LDAP injection, or brute-force attempts against identified services. Furthermore, if credentials are exposed, it may lead to direct unauthorized access to backend systems, resulting in data breaches, integrity violations, or availability disruptions. The risk is compounded by the fact that MediaWiki instances often host critical organizational knowledge and may be integrated with other enterprise systems, making any leakage of configuration details particularly dangerous for overall security posture.
To mitigate this vulnerability, immediate action should be taken to upgrade the External Data extension to a patched version where these issues have been resolved by the Wikimedia Foundation developers. Administrators must also review their server configurations to ensure that sensitive files such as docker-compose.yml and test presets are not accessible via public web directories or exposed through misconfigured virtual hosts. It is essential to implement strict file permissions so that configuration files containing secrets are readable only by the application runtime user and not by other system users or processes. Additionally, error handling mechanisms should be configured to log detailed errors internally while displaying generic messages to end-users, thereby preventing information leakage through stack traces or debug output. Regular security audits and code reviews focusing on data exposure risks will help maintain a robust defense against such vulnerabilities in the future.
This vulnerability maps directly to MITRE ATT&CK technique T1504, which involves weak or compromised credentials for remote services, as well as T1078, valid accounts used by attackers after initial compromise due to leaked information. By addressing these exposure issues, organizations can significantly reduce their attack surface and prevent adversaries from leveraging exposed configuration data to escalate privileges or move laterally within the network environment.