What’s Vulnerable › Vulnerabilities

CVE-2025-41240: Mounted Kubernetes Secrets under a predictable path located within the web server document root

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

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