Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-41277
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:20 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-41277
Complete source record
{
"id": "eeb5e635338ba8e4179f110ecc1333016839e67500c922e50c5399a8a42a2272",
"url": "https://osv.dev/vulnerability/CVE-2021-41277",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-41277",
"summary": "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.",
"evidence": "osv:CVE-2021-41277",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-41277",
"aliases": [
"CVE-2021-41277",
"GHSA-w73v-6p7p-fpfr"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/metabase/metabase",
"type": "GIT",
"events": [
{
"introduced": "961caedc9983dfef7e25dfdfb0e18c9bde02dca4"
},
{
"last_affected": "16d2e53436c3535e7040035bb23c4c3b2ddb9b79"
},
{
"fixed": "042a36e49574c749f944e19cf80360fd3dc322f0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:metabase:metabase:0.40.0:-:*:*:-:*:*:*",
"range": [
{
"introduced": "0.40.0-NA"
},
{
"last_affected": "0.40.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:metabase:metabase:1.40.0:-:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "1.40.0-NA"
},
{
"last_affected": "1.40.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:metabase:metabase:0.40.1:*:*:*:-:*:*:*",
"range": [
{
"introduced": "0.40.1"
},
{
"last_affected": "0.40.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:metabase:metabase:1.40.1:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "1.40.1"
},
{
"last_affected": "1.40.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:metabase:metabase:0.40.2:*:*:*:-:*:*:*",
"range": [
{
"introduced": "0.40.2"
},
{
"last_affected": "0.40.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:metabase:metabase:1.40.2:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "1.40.2"
},
{
"last_affected": "1.40.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:metabase:metabase:0.40.3:*:*:*:-:*:*:*",
"range": [
{
"introduced": "0.40.3"
},
{
"last_affected": "0.40.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:metabase:metabase:1.40.3:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "1.40.3"
},
{
"last_affected": "1.40.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:metabase:metabase:0.40.4:*:*:*:-:*:*:*",
"range": [
{
"introduced": "0.40.4"
},
{
"last_affected": "0.40.4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:metabase:metabase:1.40.4:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "1.40.4"
},
{
"last_affected": "1.40.4"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "042a36e49574c749f944e19cf80360fd3dc322f0"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.40.0-NA",
"0.40.1",
"0.40.2",
"0.40.3",
"0.40.4",
"v1.40.4",
"v0.40.4",
"v1.40.3.1",
"v0.40.3.1",
"v1.40.3",
"v0.40.3",
"v1.40.2",
"v0.40.2",
"v1.40.1",
"v0.40.1",
"v1.40.0",
"v0.40.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41277.json"
}
}
],
"modified": "2026-10-20T10:53:59.192061093Z",
"provider": "osv",
"references": [
"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-41277",
"https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr",
"https://github.com/metabase/metabase/commit/042a36e49574c749f944e19cf80360fd3dc322f0"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-41277",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384802,
"published_at": "2021-11-17T20:15:10.587+00:00"
}