cybersecurity Request an audit

Actively exploited vulnerability / CVE-2021-41277

Metabase: attackers can read files and secret settings from the server

This flaw in Metabase's custom map feature lets an attacker read files from the server running the application, including environment variables that may hold passwords and access keys. For a business, this can expose connected databases and the business data analysed in Metabase. It is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.

Identifier
CVE-2021-41277 · EUVD-2021-28310
Severity
Critical (10/10)
On the CISA list (US)
yes, since 12 November 2024
Deadline given to US federal agencies
3 December 2024
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
97.2% (FIRST's estimate for the next 30 days)

Does it concern you?

Metabase is an open source data analytics and reporting platform that companies use to build dashboards and charts on top of their own databases. It is typically run by IT, data or management teams that want internal reports.

Ask whoever administers Metabase, or look up the version in the settings menu under the about section. Versions earlier than 0.40.5, or 1.40.5 for the commercial edition, are affected.

Affected products and versions

  • Metabase

What to do

Update Metabase to version 0.40.5 or 1.40.5 or any later release. If you cannot update right away, have your IT team add filtering rules in the reverse proxy, load balancer or web application firewall, following the vendor's guidance.

The official description

The text below is the description from the public database.

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.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

Other exploited vulnerabilities in Metabase

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.