What is wrong
Metabase fails to validate URLs before loading custom GeoJSON map configurations. An unauthorized attacker can exploit this local file inclusion vulnerability to expose server files and environment variables.
Who is affected
This issue affects Metabase versions prior to 0.40.5, as well as versions from 1.0.0 up to 1.40.5.
What to do
Upgrade to Metabase 0.40.5, 1.40.5, or a later release. If upgrading immediately is not feasible, apply validation filter rules at your reverse proxy, load balancer, or WAF.
Original description
Metabase is an open source data analytics platform. In affected versions a security issue has been discovered with the custom GeoJSON map (`admin->settings->maps->custom maps->add a map`) support and potential local file inclusion (including environment variables). URLs were not validated prior to being loaded. This issue is fixed in a new maintenance release (0.40.5 and 1.40.5), and any subsequent release after that. If you’re unable to upgrade immediately, you can mitigate this by including rules in your reverse proxy or load balancer or WAF to provide a validation filter before the application.
Known exploited (CISA KEV)
- Added to KEV
- 2024-11-12
- Remediation due (US federal)
- 2024-12-03
- Ransomware use
- Unknown
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Affected software
- Metabase = 0.40.4*= 0.40.2= 1.40.4= 1.40.1= 0.40.3 exact match
Details
- Published
- 2021-11-17
- Last modified
- 2026-10-08
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- CWE
- CWE-200, CWE-22
- EPSS (30-day exploit probability)
- 97.18% (percentile 100)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.