GeoJSON URL validation can expose server files and environment variables to unauthorized users
Summary
| CVE | CVE-2021-41277 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-11-17 20:15:10 UTC |
| Updated | 2026-10-08 10:34:41 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.971780000 probability, percentile 0.998970000 (date 2026-10-23)
CISA KEV: Listed on 2024-11-12; due 2024-12-03; ransomware use Unknown
Problem Types: CWE-200 | CWE-22 | CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | [email protected] | Secondary | 10 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
| 3.1 | CNA | DECLARED | 10 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
| 2.0 | [email protected] | Primary | 5 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
NoneAvailability
NoneAV:N/AC:L/Au:N/C:P/I:N/A:N
CISA Known Exploited Vulnerability
| Vendor | Metabase |
|---|---|
| Product | Metabase |
| Name | Metabase GeoJSON API Local File Inclusion Vulnerability |
| 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 |
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Metabase | Metabase | 0.40.0 | - | All | All |
| Application | Metabase | Metabase | 0.40.1 | All | All | All |
| Application | Metabase | Metabase | 0.40.2 | All | All | All |
| Application | Metabase | Metabase | 0.40.3 | All | All | All |
| Application | Metabase | Metabase | 0.40.4 | All | All | All |
| Application | Metabase | Metabase | 1.40.0 | - | All | All |
| Application | Metabase | Metabase | 1.40.1 | All | All | All |
| Application | Metabase | Metabase | 1.40.2 | All | All | All |
| Application | Metabase | Metabase | 1.40.3 | All | All | All |
| Application | Metabase | Metabase | 1.40.4 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.cisa.gov/known-exploited-vulnerabilities-catalog | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | www.cisa.gov | US Government Resource |
| GeoJSON URL validation can expose server files and environment variables to unauthorized users · Advisory · metabase/metabase · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Mitigation, Third Party Advisory |
| GeoJSON URL validation fix (#17990) · metabase/metabase@042a36e · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
| CISA Known Exploited Vulnerabilities catalog | CISA | www.cisa.gov | kev |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 730322 Metabase Local File Inclusion (LFI) Vulnerability