CVE-2021-41277 is a high-severity (CVSS 7.5) Information Exposure vulnerability. It is in CISA's Known Exploited Vulnerabilities catalog (added 2024-11-12) — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2024-11-12. Federal agencies were required to remediate by 2024-12-03.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2021-41277.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2021-41277 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,415 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
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 Products
metabasemetabaseResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Metabase is an open source data analytics platform. In affected versions…
Metabase is an open source data analytics platform. In affected versions…
Metabase is an open source data analytics platform. In affected versions…
Metabase is an open source data analytics platform. In affected versions…
Metabase is an open source data analytics platform. In affected versions…
Metabase is an open source data analytics platform. In affected versions…
Metabase is an open source data analytics platform. In affected versions…
Metabase is an open source data analytics platform. In affected versions…
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Fix
Upgrade the affected component to the fixed release for CVE-2021-41277, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
How to detect CVE-2021-41277
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2021-41277 -u https://target- Template
- Metabase - Local File Inclusion
- Severity
- high
- Impact
- The vulnerability can result in unauthorized access to sensitive files or execution of arbitrary code on the affected system.
- Remediation
- This issue is fixed in 0.40.5 and .40.5 and higher. If you are 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.
Template by ProjectDiscovery nuclei-templates (0x_Akoko, DhiyaneshDK), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2021-41277 in your dependencies?
Find it across , including transitive dependencies.