CVE-2026-47847: Hardcoded Replication Credentials in Bitnami MariaDB Galera
Bitnami's MariaDB Galera container images and Helm chart ship with a hardcoded, publicly known username and password (monitor/monitor) that allows replication health checks. This credential cannot be changed during standard deployments and grants database replication privileges from any network location. An attacker who discovers a vulnerable Galera cluster can use this credential to access replication functions, potentially to monitor or interfere with database replication status.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses (CWE)
- CWE-798
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-18 / 2026-06-22
NVD description (verbatim)
Bitnami MariaDB Galera container images and Helm chart are affected by a hardcoded default credential vulnerability in the Galera replication health-check user. The MARIADB_REPLICATION_USER and MARIADB_REPLICATION_PASSWORD environment variables defaulted to monitor and monitor respectively. This user is granted REPLICATION CLIENT privileges from any host ('%'). The Bitnami Helm chart for MariaDB Galera did not expose parameters to configure this user's credentials, resulting in all chart deployments using this publicly known credential by default. Affected versions — Container image: 10.6.x prior to 10.6.27-photon-5-r0; 10.11.x prior to 10.11.17-photon-5-r1; 11.4.x prior to 11.4.12-photon-5-r0; 11.8.x prior to 11.8.7-photon-5-r1; 12.3.x prior to 12.3.2-photon-5-r0 / 12.3.2-debian-12-r0. Helm chart: prior to 18.3.0.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-47847 is a hardcoded credential vulnerability (CWE-798) affecting Bitnami's MariaDB Galera container images and Helm chart. The MARIADB_REPLICATION_USER and MARIADB_REPLICATION_PASSWORD environment variables default to 'monitor' and 'monitor' respectively, granting REPLICATION CLIENT privileges from any host ('%'). The Helm chart does not expose configuration parameters to override these credentials, forcing all default deployments to use the same well-known pair. Affected releases span versions 10.6, 10.11, 11.4, 11.8, and 12.3 of the container image (prior to specific patch versions noted) and Helm chart versions prior to 18.3.0.
Business impact
Organizations relying on Bitnami's MariaDB Galera Helm chart for cloud-native database deployments face credential compromise at scale. The replication user, while limited to replication operations, could be abused to disrupt cluster health monitoring, extract topology information, or serve as a pivot point in multi-stage attacks. In environments where Galera clusters handle production workloads, compromised replication visibility undermines operational resilience and may violate security baselines for credential management.
Affected systems
Bitnami MariaDB Galera container images: 10.6.x before 10.6.27-photon-5-r0; 10.11.x before 10.11.17-photon-5-r1; 11.4.x before 11.4.12-photon-5-r0; 11.8.x before 11.8.7-photon-5-r1; 12.3.x before 12.3.2 (photon-5-r0 and debian-12-r0). Bitnami MariaDB Galera Helm chart: all versions prior to 18.3.0. This affects Kubernetes deployments, container orchestration platforms, and any direct use of the affected container images.
Exploitability
Exploitability is straightforward given the publicly known credential. An attacker with network access to a MariaDB Galera cluster (or replication port exposure) can authenticate directly using the default monitor/monitor credentials. No complex exploitation chain is required; the vulnerability exists at deployment time. However, the replication user's privileges are scoped to REPLICATION CLIENT operations, limiting the scope of direct database compromise. The CVSS score of 5.3 (Medium) reflects low-barrier network access and information disclosure risk, offset by limited scope of granted privileges.
Remediation
Upgrade to patched Bitnami container images and Helm chart version 18.3.0 or later. After upgrading the Helm chart, configure custom replication user credentials via the now-exposed environment variables or Helm values. For existing deployments, immediately override the default replication credentials by setting MARIADB_REPLICATION_USER and MARIADB_REPLICATION_PASSWORD to strong, unique values during container initialization or via Kubernetes secrets. Verify that network policies restrict access to Galera replication ports (typically 3306, 4567, 4568, 4444) to trusted cluster members only.
Patch guidance
1. Update Bitnami Helm chart to version 18.3.0 or later via your Helm repository. 2. For container images, upgrade to: 10.6.27-photon-5-r0 or later; 10.11.17-photon-5-r1 or later; 11.4.12-photon-5-r0 or later; 11.8.7-photon-5-r1 or later; or 12.3.2-photon-5-r0 / 12.3.2-debian-12-r0 or later. 3. Test patched versions in a non-production environment first, as Helm chart updates may require value migrations. 4. Redeploy clusters using the patched chart and provide strong custom credentials for the replication user. 5. Verify backward compatibility with existing persistent data before rolling out to production.
Detection guidance
Monitor for authentication attempts to MariaDB using the username 'monitor' from unexpected sources. Check Kubernetes API audit logs for Helm chart deployments with versions prior to 18.3.0. Inspect running Galera pods for the absence of custom MARIADB_REPLICATION_USER and MARIADB_REPLICATION_PASSWORD environment variables (indicating reliance on defaults). Query MariaDB error logs for repeated connection attempts on replication ports using the default credential. In containerized environments, scan image tags and digests against the vulnerable version ranges listed above.
Why prioritize this
Although the CVSS score is Medium (5.3), prioritize this vulnerability in your Galera deployment roadmap because: (1) it is a default-on credential vulnerability affecting all standard deployments; (2) the credential is public and trivial to exploit; (3) replication access, while scoped, can expose cluster topology and state; (4) remediation is straightforward (Helm upgrade + credential override) and low-risk; (5) Galera clusters often run production data, making credential compromise a compliance concern.
Risk score, explained
The CVSS 3.1 score of 5.3 (Medium) is derived from Attack Vector: Network (AV:N), Attack Complexity: Low (AC:L), Privileges Required: None (PR:N), User Interaction: None (UI:N), Scope: Unchanged (S:U), Confidentiality: Low (C:L), Integrity: None (I:N), Availability: None (A:N). The score reflects that the vulnerability is easily exploitable over the network with no barriers, but the impact is limited to low-level information disclosure (replication status, cluster state) with no direct integrity or availability loss. The replication user cannot modify data or shut down the database, capping the severity despite the default-credential weakness.
Frequently asked questions
Can the monitor credential be used to read or modify database data?
No. The REPLICATION CLIENT privilege grants only replication operations and status visibility. It does not permit SELECT, INSERT, UPDATE, or DELETE on user tables. However, an attacker can observe cluster membership, replication lag, and topology information, which may inform further attacks.
Does this vulnerability affect standalone MariaDB deployments?
No. This vulnerability is specific to Bitnami's MariaDB Galera container images and Helm chart. Standalone MariaDB or non-Bitnami Galera deployments are not affected unless they also use hardcoded credentials in their initialization logic.
What if I'm running a patched container image but an older Helm chart?
You must update the Helm chart to version 18.3.0 or later. The Helm chart controls environment variable defaults and must be upgraded to expose configuration parameters for custom credentials. A patched image alone does not remediate the issue if the chart still enforces the default values.
How should I set strong replication credentials in Kubernetes?
Create a Kubernetes Secret containing strong random credentials for MARIADB_REPLICATION_USER and MARIADB_REPLICATION_PASSWORD. Reference this Secret in your Helm values under the replication user configuration (verify the exact key name in the updated Helm chart documentation). This ensures credentials are not stored in plain text in the chart values or pod definitions.
This analysis is provided for informational purposes to support vulnerability management and risk prioritization. SEC.co does not warrant the accuracy or completeness of this content and disclaims liability for any errors or omissions. Security teams should cross-reference official Bitnami advisories, Kubernetes documentation, and vendor patch notes before making deployment decisions. This explainer does not constitute professional security advice; engage qualified security professionals for your environment. No exploit code, proof-of-concept, or weaponization guidance is provided or implied herein. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2026-21404MEDIUMNAVTOR NavBox Hard-Coded SOAP Credentials Allow Local File Modification
- CVE-2026-25600MEDIUMPDBM Hard-Coded Encryption Secret Vulnerability
- CVE-2026-36616MEDIUMMercusys AC12G Hardcoded WiFi Credentials Vulnerability
- CVE-2026-49204MEDIUMHardcoded AWS Cognito Credentials in Acer Connect M6E 5G Firmware
- CVE-2026-49323MEDIUMIndian Motorcycle Scout Bobber + Tech Immobilizer Bypass via Weak WCM-ECM Authentication
- CVE-2026-9260MEDIUMHard-Coded Cryptographic Keys in Canon EOS Network Setting Tool
- CVE-2019-25722HIGHHard-Coded Credentials and DoS in Dräger Patient Monitoring Devices
- CVE-2026-22312HIGHHard-Coded Token REST API Authentication Bypass