What’s Vulnerable › Vulnerabilities
CVE-2025-41240: Mounted Kubernetes Secrets under a predictable path located within the web server document root
- Severity: critical (CVSS 10.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-24 · updated 2026-06-17
- Weakness: CWE-552
Description
Three Bitnami Helm charts mount Kubernetes Secrets under a predictable path (/opt/bitnami/*/secrets) that is located within the web server document root. In affected versions, this can lead to unauthenticated access to sensitive credentials via HTTP/S. A remote attacker could retrieve these secrets by accessing specific URLs if the application is exposed externally. The issue affects deployments using the default value of usePasswordFiles=true, which mounts secrets as files into the container filesystem.
Affected products
- VMware bitnamicharts/appsmith: from 21.2.0 through 22.0.4
- VMware bitnamicharts/drupal: from 5.2.0 before 6.0.19 — fixed in 6.0.19
- VMware bitnamicharts/wordpress: from 24.2.0 before 25.0.4 — fixed in 25.0.4
How to fix
Upgrade to a fixed version: VMware bitnamicharts/drupal 6.0.19; VMware bitnamicharts/wordpress 25.0.4. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-41240 or the next vulnerability affects your stack