{"id":"CVE-2021-41277","published":"2021-11-17T20:15:10Z","modified":"2026-10-08T10:34:41Z","title":"Metabase GeoJSON API Local File Inclusion Vulnerability","vendor":"Metabase","product":"Metabase","tier":"core","eol":null,"description":{"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.","provenance":"source","from":"NVD"},"summary":{"text":"The flaw is in Metabase's custom GeoJSON map support, reached through the admin settings for custom maps, where URLs were not validated before being loaded, enabling local file inclusion. An attacker with network access and no authentication or user interaction could read local files on the server, including environment variables.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T04:54:39Z"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"NVD"},"epss":{"score":0.97178,"percentile":0.99895,"date":"2026-10-30","provenance":"source"},"kev":{"dateAdded":"2024-11-12","dueDate":"2024-12-03","ransomware":false,"requiredAction":"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","provenance":"source"},"vulncheckKev":{"dateAdded":"2022-05-31","exploitedFirstSeen":"2022-05-31","ransomware":false,"evidence":[{"url":"https://unit42.paloaltonetworks.com/network-security-trends-cross-site-scripting/","date":"2022-05-31"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-13&host_type=src&vulnerability=cve-2021-41277","date":"2023-11-13"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-14&host_type=src&vulnerability=cve-2021-41277","date":"2023-11-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-15&host_type=src&vulnerability=cve-2021-41277","date":"2023-11-15"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-16&host_type=src&vulnerability=cve-2021-41277","date":"2023-11-16"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-17&host_type=src&vulnerability=cve-2021-41277","date":"2023-11-17"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-18&host_type=src&vulnerability=cve-2021-41277","date":"2023-11-18"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-19&host_type=src&vulnerability=cve-2021-41277","date":"2023-11-19"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-20&host_type=src&vulnerability=cve-2021-41277","date":"2023-11-20"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-21&host_type=src&vulnerability=cve-2021-41277","date":"2023-11-21"}],"evidenceTotal":768,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/metabase/metabase/commit/042a36e49574c749f944e19cf80360fd3dc322f0","tags":["Patch"]},{"url":"https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr","tags":["Mitigation","Third Party Advisory"]},{"url":"https://github.com/metabase/metabase/commit/042a36e49574c749f944e19cf80360fd3dc322f0","tags":["Patch"]},{"url":"https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr","tags":["Mitigation","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-41277","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Public-facing admin map feature exploited remotely","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"custom GeoJSON map (`admin->settings->maps->custom maps->add a map`) support","start":119,"end":195}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1005","name":"Data from Local System","tactics":["collection"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Reads arbitrary local files and environment variables","mappingType":"primary_impact","evidence":[{"from":"description","quote":"potential local file inclusion (including environment variables)","start":200,"end":264}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-28310","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-28310","exploited":true,"exploitedSince":"2024-11-12","provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":12,"skipped":0,"earliest":"2021-11-21","earliestUrl":"https://github.com/tahtaciburak/CVE-2021-41277","repos":[{"name":"tahtaciburak/CVE-2021-41277","url":"https://github.com/tahtaciburak/CVE-2021-41277","stars":11,"created":"2021-11-21"},{"name":"zer0yu/CVE-2021-41277","url":"https://github.com/zer0yu/CVE-2021-41277","stars":9,"created":"2021-12-06"},{"name":"z3n70/CVE-2021-41277","url":"https://github.com/z3n70/CVE-2021-41277","stars":5,"created":"2021-11-22"},{"name":"Vulnmachines/Metabase_CVE-2021-41277","url":"https://github.com/Vulnmachines/Metabase_CVE-2021-41277","stars":4,"created":"2021-11-23"},{"name":"sasukeourad/CVE-2021-41277_SSRF","url":"https://github.com/sasukeourad/CVE-2021-41277_SSRF","stars":4,"created":"2022-01-10"}]},"nuclei":[{"id":"CVE-2021-41277","name":"Metabase - Local File Inclusion","severity":"high","path":"http/cves/2021/CVE-2021-41277.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-41277.yaml"}],"first":{"date":"2021-11-21","source":"PoC-in-GitHub","url":"https://github.com/tahtaciburak/CVE-2021-41277"},"provenance":"source"},"exploitRefs":[],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1005"],"provenance":"ai"}],"timeline":[{"date":"2021-11-17","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41277","provenance":"source"},{"date":"2021-11-21","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/tahtaciburak/CVE-2021-41277","provenance":"source"},{"date":"2022-05-31","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://unit42.paloaltonetworks.com/network-security-trends-cross-site-scripting/","provenance":"source"},{"date":"2024-11-12","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2024-11-12","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-28310","provenance":"source"}],"speed":{"daysToPublicExploit":4,"firstExploitFrom":"PoC-in-GitHub","daysToKev":1091},"priority":{"score":68.2,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1614 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.98,"detail":"percentile 0.9990"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"12 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":5.25,"detail":"base score 7.5"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}