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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 10.0
- **CVSS:** 10.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Yes: in CISA KEV since 2024-11-12; federal due date 2024-12-03
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 97.18% (percentile 100, 2026-11-26)
- **CWE:** CWE-200
- **Published:** 2021-11-17T20:05:11.000Z
- **Modified:** 2026-10-08T10:34:41.120Z

## Who should check

- Anyone running metabase \< 0.40.5; \>= 1.0.0, \< 1.40.5

## 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.

## Affected and fixed versions

- metabase: \< 0.40.5; \>= 1.0.0, \< 1.40.5 (cvelist)

## Mitigation

- Upgrade metabase to 1.40.5 or later.

## Timeline

- 2021-11-17: Published
- 2024-11-12: Added to CISA KEV (exploited in the wild)
- 2024-12-03: CISA remediation due date for US federal agencies
- 2026-10-08: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-41277. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-41277.md
Affected: metabase < 0.40.5; >= 1.0.0, < 1.40.5
Fixed in: metabase 0.40.5, metabase 1.40.5

Steps:
1. Search this machine and project for metabase: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-41277 being exploited?

Yes. CISA lists CVE-2021-41277 in its Known Exploited Vulnerabilities catalog since 2024-11-12, which means attacks have been seen. No public exploit code is known. EPSS estimates a 97.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-41277?

Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2021-41277?

metabase \< 0.40.5; \>= 1.0.0, \< 1.40.5.

### Is there a fix for CVE-2021-41277?

Yes. Fixed in metabase 0.40.5, metabase 1.40.5. Upgrade metabase to 1.40.5 or later.

### How do I check if I'm affected by CVE-2021-41277?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr>
- patch: <https://github.com/metabase/metabase/commit/042a36e49574c749f944e19cf80360fd3dc322f0>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-41277>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-41277>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2021-41277> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-41277>
