CVE-2021-41277

CRITICAL KEV NUCLEI

Metabase - Path Traversal and Local File Inclusion via Custom GeoJSON Map URL

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2021-41277 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added November 12, 2024. EIP tracks 10 public exploits from researchers including tahtaciburak, zer0yu, z3n70. A Nuclei detection template is also available.

AI-analyzed exploit summary This PoC exploits a Local File Inclusion (LFI) vulnerability in Metabase by sending a crafted HTTP request to read arbitrary files (e.g., /etc/passwd). It checks for the presence of 'root:' in the response to confirm vulnerability.

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.

Exploits (10)

nomisec WORKING POC 11 stars
by tahtaciburak · poc
https://github.com/tahtaciburak/CVE-2021-41277

This PoC exploits a Local File Inclusion (LFI) vulnerability in Metabase by sending a crafted HTTP request to read arbitrary files (e.g., /etc/passwd). It checks for the presence of 'root:' in the response to confirm vulnerability.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Metabase (versions affected by CVE-2021-41277)
No auth needed
Prerequisites: Network access to the Metabase instance · Metabase instance exposed to the internet or accessible via HTTP/HTTPS
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 9 stars
by zer0yu · poc
https://github.com/zer0yu/CVE-2021-41277

This repository contains a Go-based proof-of-concept for CVE-2021-41277, an information disclosure vulnerability in Metabase. The exploit checks for the vulnerability by attempting to read the /etc/passwd file via a crafted GeoJSON API request.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Metabase < 0.40.5 and >= 1.0.0, < 1.40.5
No auth needed
Prerequisites: Network access to the Metabase instance · Exposed /api/geojson endpoint
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER 5 stars
by z3n70 · poc
https://github.com/z3n70/CVE-2021-41277

This repository contains a Ruby script that scans a list of domains for CVE-2021-41277, an SSRF vulnerability in Metabase. It checks for the presence of '/etc/passwd' content in the response to determine vulnerability.

Classification
Scanner 90%
Attack Type
Ssrf
Complexity
Trivial
Reliability
Reliable
Target: Metabase (version not specified)
No auth needed
Prerequisites: List of target domains
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WRITEUP 4 stars
by Vulnmachines · poc
https://github.com/Vulnmachines/Metabase_CVE-2021-41277

This repository contains a writeup describing CVE-2021-41277, a local file inclusion vulnerability in Metabase's custom GeoJSON map feature. The issue allows unvalidated URLs to be loaded, potentially leading to information disclosure.

Classification
Writeup 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Metabase < 0.40.5, < 1.40.5
Auth required
Prerequisites: Access to Metabase admin settings · Custom GeoJSON map feature enabled
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER 1 stars
by RubXkuB · infoleak
https://github.com/RubXkuB/PoC-Metabase-CVE-2021-41277

This script checks for CVE-2021-41277, a local file inclusion vulnerability in Metabase versions x.40.0-x.40.4. It attempts to read /etc/passwd via the GeoJSON API endpoint to confirm vulnerability.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Metabase versions x.40.0-x.40.4
No auth needed
Prerequisites: Network access to the Metabase instance
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER
by kaizensecurity · poc
https://github.com/kaizensecurity/CVE-2021-41277

This repository contains a Go-based plugin for LeakIX designed to detect CVE-2021-41277, a Local File Inclusion (LFI) vulnerability in Metabase. The plugin sends a crafted HTTP request to exploit the LFI and verifies the response for signs of successful exploitation.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Metabase (version not specified)
No auth needed
Prerequisites: Network access to the target Metabase instance
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by TheLastVvV · poc
https://github.com/TheLastVvV/CVE-2021-41277

This PoC exploits a local file inclusion vulnerability in Metabase's GeoJSON map feature (CVE-2021-41277) by sending a crafted request to read arbitrary files from the server. The script uses curl to fetch files via the vulnerable endpoint.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Metabase versions x.40.0 to x.40.4
No auth needed
Prerequisites: Target Metabase instance accessible via HTTP · Vulnerable version of Metabase (x.40.0-x.40.4)
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER
by kap1ush0n · infoleak
https://github.com/kap1ush0n/CVE-2021-41277

This repository contains a Python script that scans for CVE-2021-41277, an arbitrary file read vulnerability in Metabase. It uses the FOFA API to fetch potential targets and checks for vulnerability by attempting to read /etc/passwd.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Metabase (version not specified)
No auth needed
Prerequisites: FOFA API key · Internet access · Python environment
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by Henry4E36 · poc
https://github.com/Henry4E36/Metabase-cve-2021-41277

This PoC exploits CVE-2021-41277, an arbitrary file read vulnerability in Metabase, by sending crafted requests to the `/api/geojson` endpoint with `file://` URLs to read sensitive files like `/etc/passwd` or `win.ini`.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Metabase (versions affected by CVE-2021-41277)
No auth needed
Prerequisites: Network access to the Metabase instance · Vulnerable version of Metabase
devstral-2 · analyzed Feb 16, 2026 Full analysis →
vulncheck_xdb WORKING POC
infoleak
https://github.com/chengling-ing/CVE-2021-41277

This repository contains a functional Python script that exploits CVE-2021-41277, an arbitrary file read vulnerability in MetaBase. The script sends a crafted request to the '/api/geojson' endpoint with a 'file:/etc/passwd' payload to read sensitive files.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: MetaBase (version not specified)
No auth needed
Prerequisites: Target MetaBase instance with exposed API endpoint
devstral-2 · analyzed Feb 25, 2026 Full analysis →

Nuclei Templates (1)

Metabase - Local File Inclusion
HIGHby 0x_Akoko,DhiyaneshDK
Shodan: http.title:"Metabase" || http.title:"metabase"
FOFA: app="Metabase" || title="metabase" || app="metabase"

Scores

CVSS v3 10.0
EPSS 0.9435
EPSS Percentile 100.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Details

CISA KEV 2024-11-12
VulnCheck KEV 2022-05-31
InTheWild.io 2022-05-31
ENISA EUVD EUVD-2021-28310
CWE
CWE-22 CWE-200
Status published
Products (10)
metabase/metabase 0.40.0
metabase/metabase 0.40.1
metabase/metabase 0.40.2
metabase/metabase 0.40.3
metabase/metabase 0.40.4
metabase/metabase 1.40.0
metabase/metabase 1.40.1
metabase/metabase 1.40.2
metabase/metabase 1.40.3
metabase/metabase 1.40.4
Published Nov 17, 2021
KEV Added Nov 12, 2024
Tracked Since Feb 18, 2026