LiveActive security incident?Get immediate response
CVE Record

CVE-2021-41277: GeoJSON URL validation can expose server files and environment variables to unauthorized users

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.

CriticalCVSS 10Known exploitedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

Metabase custom GeoJSON maps loaded URLs without proper validation. In affected versions, an unauthenticated network attacker could potentially expose local server files, including environment variables. That can reveal secrets and undermine data platform trust. Metabase fixed the issue in 0.40.5, 1.40.5, and later releases.

Executive priority

Treat this as urgent for any reachable Metabase instance. KEV status and critical scoring mean remediation should be tracked as a priority security action, especially where Metabase can access sensitive analytics data or secrets.

Technical view

CVE-2021-41277 affects Metabase custom maps under admin settings. URL validation was missing before GeoJSON resources were loaded, creating local file inclusion and information disclosure risk. The CVSS 3.1 score is 10.0 with network, unauthenticated exploitation characteristics. The CVE lists CWE-200 and CWE-22.

Likely exposure

Organizations running Metabase versions before 0.40.5, or Enterprise 1.x versions from 1.0.0 before 1.40.5, should assume exposure if instances are reachable over a network.

Exploitation context

CISA KEV inclusion supports known exploitation. The provided sources do not include exploit mechanics, prevalence, or affected deployment patterns beyond the Metabase version ranges and custom GeoJSON map feature.

Researcher notes

The core issue is missing URL validation in custom GeoJSON map loading, with potential local file inclusion and environment variable disclosure. Evidence supports affected versions and fixed releases, but the provided bundle does not document exploit details or indicators of compromise.

Mitigation direction

  • Upgrade Metabase to 0.40.5, 1.40.5, or any later release.
  • If upgrade is delayed, add reverse proxy, load balancer, or WAF URL validation filters.
  • Restrict administrative settings access to trusted users and networks.
  • Review Metabase guidance before applying any compensating control.
  • Prioritize exposed internet-facing Metabase instances first.

Validation and detection

  • Inventory all Metabase instances and record exact versions.
  • Flag versions below 0.40.5 and 1.x versions below 1.40.5.
  • Check whether custom GeoJSON maps are configured in admin map settings.
  • Review logs for custom map changes and unexpected file or environment access indicators.
  • Confirm remediation by verifying the upgraded version.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-200: Information exposure and cloud metadata lookup

Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-22: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-41277 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
10 (3.1)
Known Exploited
Yes
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CISA KEV status

Status
Known exploited
Source
CISA / ADP
Date added
Not provided

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
10CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L3.96Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

10Critical
CVSS 3.1 vector shape for CVE-2021-41277Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
metabasemetabase< 0.40.5, >= 1.0.0, < 1.40.5Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-200 · source CWE mapping

Exposure of Sensitive Information to an Unauthorized Actor

Exposure of Sensitive Information to an Unauthorized Actor represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-22 · source CWE mapping

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.