Live threats

All CVEs / Metabase

CVE-2021-41277Metabase

Local File Inclusion in Metabase Custom GeoJSON Maps

High 7.5 KEV No auth neededHigh EPSS

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
Weakness (CWE)
CWE-200, CWE-22
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.

Source text, unmodified. NVD.

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.

Source text, unmodified. CISA KEV.

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.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Metabase.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was December 3, 2024.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
metabasemetabase0.40.0
metabasemetabase0.40.1
metabasemetabase0.40.2
metabasemetabase0.40.3
metabasemetabase0.40.4
metabasemetabase1.40.0
metabasemetabase1.40.1
metabasemetabase1.40.2
metabasemetabase1.40.3
metabasemetabase1.40.4

Official sources

References

Links published by the sources. Open them with care.