CVE-2021-41277Metabase
Local File Inclusion in Metabase Custom GeoJSON Maps
High 7.5 KEV No auth neededHigh EPSS
Follow: this CVE · Metabase · Metabase We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 7.5
- EPSS
- 97.2% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Nov 12, 2024
- CISA deadline
- Dec 3, 2024
- Ransomware use
- Unknown
- Published
- Nov 17, 2021
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
Metabase contains a local file inclusion vulnerability in the custom map feature that loads GeoJSON data. An unauthenticated attacker can access local files, including environment variables, by exploiting unvalidated URLs in the map configuration. CISA has confirmed active exploitation of this vulnerability.
Show the original NVD text
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.
Exploitation confirmed by CISA
Metabase contains a local file inclusion vulnerability in the custom map support in the API to read GeoJSON formatted data.
Action required by CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
What to do
Patch available · fixed versions: 0.40.5, 1.40.5
Update Metabase to version 0.40.5, 1.40.5 or later. If immediate upgrade is not possible, implement URL validation rules in your reverse proxy, load balancer, or WAF.
- Apply the vendor's security update for Metabase.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was December 3, 2024.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| metabase | metabase | 0.40.0 |
| metabase | metabase | 0.40.1 |
| metabase | metabase | 0.40.2 |
| metabase | metabase | 0.40.3 |
| metabase | metabase | 0.40.4 |
| metabase | metabase | 1.40.0 |
| metabase | metabase | 1.40.1 |
| metabase | metabase | 1.40.2 |
| metabase | metabase | 1.40.3 |
| metabase | metabase | 1.40.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Mitigation Third Party Advisory
- www.cisa.gov US Government Resource