{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2021-41277 in the wild since at least 12 Nov 2024.","fix":"No fix has been published for CVE-2021-41277 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 Dec 2024.","what":"CVE-2021-41277 is a critical path traversal vulnerability in metabase, published on 17 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-41277 and fix it if it is affected.\n\nWhat it is: CVE-2021-41277 is a critical path traversal vulnerability in metabase, published on 17 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-41277 in the wild since at least 12 Nov 2024.\n\nAffected product: metabase. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-41277/ (Markdown: https://insights.sbomify.com/CVE-2021-41277/index.md)","id":"CVE-2021-41277","markdown":"https://insights.sbomify.com/CVE-2021-41277/index.md","name":"CVE-2021-41277","record":{"aliases":["GHSA-w73v-6p7p-fpfr"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Metabase analytics platform","requires_auth":"none","summary":"Attackers can read server files and environment variables via unvalidated GeoJSON URLs in Metabase custom map settings.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"metabase","vendor":"metabase"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Metabase is an open source data analytics platform. In affected versions a security issue has been discovered with the custom GeoJSON map (`admin-\u003esettings-\u003emaps-\u003ecustom maps-\u003eadd 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2021-11-21","github_poc":12,"max_poc_stars":11,"metasploit":0,"nuclei":1,"refs":[{"date":"2021-11-21T11:38:08Z","kind":"github_poc","ref":"https://github.com/tahtaciburak/CVE-2021-41277","stars":11,"title":"PoC for CVE-2021-41277"},{"date":"2021-12-06T08:52:32Z","kind":"github_poc","ref":"https://github.com/zer0yu/CVE-2021-41277","stars":9,"title":null},{"date":"2021-11-22T18:06:11Z","kind":"github_poc","ref":"https://github.com/z3n70/CVE-2021-41277","stars":5,"title":"simple program for exploit metabase"},{"date":"2021-11-23T18:01:23Z","kind":"github_poc","ref":"https://github.com/Vulnmachines/Metabase_CVE-2021-41277","stars":4,"title":null},{"date":"2022-01-10T01:52:10Z","kind":"github_poc","ref":"https://github.com/sasukeourad/CVE-2021-41277_SSRF","stars":4,"title":"CVE-2021-41277 can be extended to an SSRF "},{"date":"2022-03-11T06:39:38Z","kind":"github_poc","ref":"https://github.com/chengling-ing/CVE-2021-41277","stars":1,"title":"MetaBase 任意文件读取"},{"date":"2023-04-24T16:34:13Z","kind":"github_poc","ref":"https://github.com/RubXkuB/PoC-Metabase-CVE-2021-41277","stars":1,"title":null},{"date":"2021-11-22T02:51:49Z","kind":"github_poc","ref":"https://github.com/Henry4E36/Metabase-cve-2021-41277","stars":0,"title":" Metabase 任意文件读取"}],"tier":"exploited"},"has_fix":false,"headline":"Metabase GeoJSON API Local File Inclusion","id":"CVE-2021-41277","indexable":true,"kev":{"dateAdded":"2024-11-12","dueDate":"2024-12-03","knownRansomwareCampaignUse":"Unknown","product":"Metabase","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Metabase","vulnerabilityName":"Metabase GeoJSON API Local File Inclusion Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Broken encryption in EdgeX Foundry","id":"CVE-2021-41278"},"packages":[],"prev":{"headline":"Indirect LDAP injection in Tuleap","id":"CVE-2021-41276"},"products":["metabase"],"published":"2021-11-17","related":[{"cvss_score":10,"headline":"Metabase SQL Injection","id":"CVE-2026-72898","kev_date_added":"2026-08-11","published":"2026-08-10"},{"cvss_score":10,"headline":"Metabase: Remote Code Execution via Snowflake JDBC Driver Arbitrary File Write","id":"CVE-2026-50148","kev_date_added":null,"published":"2026-07-15"},{"cvss_score":10,"headline":"Metabase vulnerable to remote code execution via POST /api/setup/validate API endpoint","id":"CVE-2023-37470","kev_date_added":null,"published":"2023-08-04"},{"cvss_score":9.9,"headline":"Metabase: Unsafe Deserialization of H2 Query Results","id":"CVE-2026-59827","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2023-38646","kev_date_added":null,"published":"2023-07-21"},{"cvss_score":9.1,"headline":"Metabase: Arbitrary Code Execution via Database Connection Detail Bypass","id":"CVE-2026-59826","kev_date_added":null,"published":"2026-07-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-07","vendors":["metabase"]},"summary":"Attackers can read server files and environment variables via unvalidated GeoJSON URLs in Metabase custom map settings.","url":"https://insights.sbomify.com/CVE-2021-41277/"}