CVE-2021-41277 in Metabase
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Metabase | Metabase | < 0.40.5 ≥ 1.0.0, < 1.40.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2024-11-12 |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-41277 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-278064-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2021-11-17 |
| Last modified | 2026-10-08 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
CWE-200: Exposure of Sensitive Information
Application reveals restricted data such as system internals, credentials, or user data to unauthorized actors.
Related attack patterns (CAPEC)
CAPEC-13 Subverting Environment Variable Values via CWE-200
CAPEC-59 Session Credential Falsification through Prediction via CWE-200
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-200
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22
Show all 63
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22, CWE-200
CAPEC-285 ICMP Echo Request Ping via CWE-200
CAPEC-287 TCP SYN Scan via CWE-200
CAPEC-290 Enumerate Mail Exchange (MX) Records via CWE-200
CAPEC-291 DNS Zone Transfers via CWE-200
CAPEC-293 Traceroute Route Enumeration via CWE-200
CAPEC-294 ICMP Address Mask Request via CWE-200
CAPEC-295 Timestamp Request via CWE-200
CAPEC-296 ICMP Information Request via CWE-200
CAPEC-297 TCP ACK Ping via CWE-200
CAPEC-298 UDP Ping via CWE-200
CAPEC-299 TCP SYN Ping via CWE-200
CAPEC-301 TCP Connect Scan via CWE-200
CAPEC-302 TCP FIN Scan via CWE-200
CAPEC-303 TCP Xmas Scan via CWE-200
CAPEC-304 TCP Null Scan via CWE-200
CAPEC-305 TCP ACK Scan via CWE-200
CAPEC-306 TCP Window Scan via CWE-200
CAPEC-307 TCP RPC Scan via CWE-200
CAPEC-308 UDP Scan via CWE-200
CAPEC-310 Scanning for Vulnerable Software via CWE-200
CAPEC-317 IP ID Sequencing Probe via CWE-200
CAPEC-318 IP 'ID' Echoed Byte-Order Probe via CWE-200
CAPEC-319 IP (DF) 'Don't Fragment Bit' Echoing Probe via CWE-200
CAPEC-320 TCP Timestamp Probe via CWE-200
CAPEC-321 TCP Sequence Number Probe via CWE-200
CAPEC-322 TCP (ISN) Greatest Common Divisor Probe via CWE-200
CAPEC-323 TCP (ISN) Counter Rate Probe via CWE-200
CAPEC-324 TCP (ISN) Sequence Predictability Probe via CWE-200
CAPEC-325 TCP Congestion Control Flag (ECN) Probe via CWE-200
CAPEC-326 TCP Initial Window Size Probe via CWE-200
CAPEC-327 TCP Options Probe via CWE-200
CAPEC-328 TCP 'RST' Flag Checksum Probe via CWE-200
CAPEC-329 ICMP Error Message Quoting Probe via CWE-200
CAPEC-330 ICMP Error Message Echoing Integrity Probe via CWE-200
CAPEC-472 Browser Fingerprinting via CWE-200
CAPEC-508 Shoulder Surfing via CWE-200
CAPEC-643 Identify Shared Files/Directories on System via CWE-200
CAPEC-126 Path Traversal via CWE-22
CAPEC-292 Host Discovery via CWE-200
CAPEC-300 Port Scanning via CWE-200
CAPEC-309 Network Topology Mapping via CWE-200
CAPEC-312 Active OS Fingerprinting via CWE-200
CAPEC-313 Passive OS Fingerprinting via CWE-200
CAPEC-497 File Discovery via CWE-200
CAPEC-573 Process Footprinting via CWE-200
CAPEC-574 Services Footprinting via CWE-200
CAPEC-575 Account Footprinting via CWE-200
CAPEC-576 Group Permission Footprinting via CWE-200
CAPEC-577 Owner Footprinting via CWE-200
CAPEC-616 Establish Rogue Location via CWE-200
CAPEC-646 Peripheral Footprinting via CWE-200
CAPEC-651 Eavesdropping via CWE-200
CAPEC-22 Exploiting Trust in Client via CWE-200
CAPEC-116 Excavation via CWE-200
CAPEC-169 Footprinting via CWE-200
CAPEC-224 Fingerprinting via CWE-200
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Metabase, an open-source data analytics platform, contains a vulnerability (CVE-2021-41277) that allows for potential local file inclusion via unvalidated URLs in custom GeoJSON maps. This could lead to exposure of sensitive information such as environment variables. The vulnerability is rated 7.5 on the CVSS scale and is listed in the KEV catalog with a high EPSS score, indicating a significant likelihood of exploitation. Immediate action is recommended to mitigate this risk, especially in environments where Metabase is used for critical data analysis and reporting.
The vulnerability arises from the lack of URL validation when adding custom GeoJSON maps in Metabase. An attacker can craft a malicious URL that points to a local file, leading to the inclusion of that file within the application. This can result in the exposure of sensitive information, such as environment variables, which could be used to further compromise the system.
Compensating controls AI-drafted, review before use
Implement a web application firewall (WAF) or reverse proxy with rules to validate and block any requests containing 'file://' in the URL path for the Metabase application.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2021-41277?
Metabase, an open-source data analytics platform, contains a vulnerability (CVE-2021-41277) that allows for potential local file inclusion via unvalidated URLs in custom GeoJSON maps. This could lead to exposure of sensitive information such as environment variables. The vulnerability is rated 7.5 on the CVSS scale and is listed in the KEV catalog with a high EPSS score, indicating a significant likelihood of exploitation. Immediate action is recommended to mitigate this risk, especially in envi
What is the CVSS score for CVE-2021-41277?
CVE-2021-41277 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 96.9%.
Is CVE-2021-41277 actively exploited?
Yes. CVE-2021-41277 is in the CISA known-exploited catalog (added 2024-11-12). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2021-41277?
Priority: IMMEDIATE.
What systems are affected by CVE-2021-41277?
CVE-2021-41277 affects Metabase Metabase.
What NERC-CIP standard applies to CVE-2021-41277?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to sensitive information, which could compromise the security of the control system environment.
What IEC 62443 requirement maps to CVE-2021-41277?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that could lead to the exposure of sensitive information, which is a critical security concern in ICS environments.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Metabase","product":"Metabase","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-08.