CVEvulnerability
CVE-2021-41277
CISA Known Exploited Vulnerability
Metabase GeoJSON API Local File Inclusion Vulnerability — Metabase Metabase
Metabase contains a local file inclusion vulnerability in the custom map support in the API to read GeoJSON formatted data.
- Added to KEV
- 2024-11-12
- Remediation due
- 2024-12-03
- Ransomware use
- Unknown
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Notes
- https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr ; https://nvd.nist.gov/vuln/detail/CVE-2021-41277
- Status
- Analyzed
- Published
- 2021-11-17
- Last modified
- 2026-10-08
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 10.0 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-200, CWE-22
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.
Affected configurations
• 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
Related
References
- https://github.com/metabase/metabase/commit/042a36e49574c749f944e19cf80360fd3dc322f0 Patch
- https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr Mitigation, Third Party Advisory
- https://github.com/metabase/metabase/commit/042a36e49574c749f944e19cf80360fd3dc322f0 Patch
- https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr Mitigation, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-41277 US Government Resource