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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 10.0
- **CVSS:** 10.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.97% (percentile 61, 2026-11-26)
- **CWE:** CWE-552
- **Published:** 2025-07-24T06:42:25.254Z
- **Modified:** 2026-06-17T09:22:39.477Z

## Who should check

- Anyone running VMware bitnamicharts/appsmith \>= 21.2.0, \<= 22.0.4
- Anyone running VMware bitnamicharts/drupal \>= 5.2.0, \< 6.0.19
- Anyone running VMware bitnamicharts/wordpress \>= 24.2.0, \< 25.0.4

## 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 and fixed versions

- VMware bitnamicharts/appsmith: \>= 21.2.0, \<= 22.0.4 (cvelist)
- VMware bitnamicharts/drupal: \>= 5.2.0, \< 6.0.19 (cvelist)
- VMware bitnamicharts/wordpress: \>= 24.2.0, \< 25.0.4 (cvelist)

## Mitigation

- Upgrade bitnamicharts/drupal to 6.0.19 or later.
- Upgrade bitnamicharts/wordpress to 25.0.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-41240. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-41240.md
Affected: VMware bitnamicharts/appsmith >= 21.2.0, <= 22.0.4; VMware bitnamicharts/drupal >= 5.2.0, < 6.0.19; VMware bitnamicharts/wordpress >= 24.2.0, < 25.0.4
Fixed in: VMware bitnamicharts/drupal 6.0.19, VMware bitnamicharts/wordpress 25.0.4

Steps:
1. Search this machine and project for VMware bitnamicharts/appsmith, VMware bitnamicharts/drupal, VMware bitnamicharts/wordpress: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-41240 being exploited?

There is no confirmed exploitation: CVE-2025-41240 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.97% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-41240?

Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-41240?

VMware bitnamicharts/appsmith \>= 21.2.0, \<= 22.0.4; VMware bitnamicharts/drupal \>= 5.2.0, \< 6.0.19; VMware bitnamicharts/wordpress \>= 24.2.0, \< 25.0.4.

### Is there a fix for CVE-2025-41240?

Yes. Fixed in VMware bitnamicharts/drupal 6.0.19, VMware bitnamicharts/wordpress 25.0.4. Upgrade bitnamicharts/drupal to 6.0.19 or later. Upgrade bitnamicharts/wordpress to 25.0.4 or later.

### How do I check if I'm affected by CVE-2025-41240?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/bitnami/charts/security/advisories/GHSA-wgg9-9qgw-529w>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-41240>

HTML: <https://flawdb.com/CVE-2025-41240> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-41240>
