{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38646 exists.","fix":"No fix has been published for CVE-2023-38646 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-38646 is a critical command injection vulnerability in n/a, published on 21 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-38646 and fix it if it is affected.\n\nWhat it is: CVE-2023-38646 is a critical command injection vulnerability in n/a, published on 21 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38646 exists.\n\nAffected product: n/a. 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-2023-38646/ (Markdown: https://insights.sbomify.com/CVE-2023-38646/index.md)","id":"CVE-2023-38646","markdown":"https://insights.sbomify.com/CVE-2023-38646/index.md","name":"CVE-2023-38646","record":{"aliases":["GHSA-jg32-8h6w-x7vg"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Metabase analytics platform","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary commands on the server via Metabase, leading to full system compromise.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"metabase","vendor":"metabase"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"Metabase open source before 0.46.6.1 and Metabase Enterprise before 1.46.6.1 allow attackers to execute arbitrary commands on the server, at the server's privilege level. Authentication is not required for exploitation. The other fixed versions are 0.45.4.1, 1.45.4.1, 0.44.7.1, 1.44.7.1, 0.43.7.2, and 1.43.7.2.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-07-22","github_poc":37,"max_poc_stars":53,"metasploit":1,"nuclei":1,"refs":[{"date":"2023-10-11T03:18:09Z","kind":"github_poc","ref":"https://github.com/Boogipop/MetabaseRceTools","stars":53,"title":"CVE-2023-38646 Metabase RCE"},{"date":"2023-08-09T14:05:24Z","kind":"github_poc","ref":"https://github.com/robotmikhro/CVE-2023-38646","stars":27,"title":"Automatic Tools For Metabase Exploit Known As CVE-2023-38646"},{"date":"2023-07-30T09:56:52Z","kind":"github_poc","ref":"https://github.com/securezeron/CVE-2023-38646","stars":20,"title":"POC for CVE-2023-38646"},{"date":"2023-07-29T13:07:00Z","kind":"github_poc","ref":"https://github.com/0xrobiul/CVE-2023-38646","stars":15,"title":"Metabase Pre-auth RCE (CVE-2023-38646)!!"},{"date":"2023-08-02T13:21:58Z","kind":"github_poc","ref":"https://github.com/shamo0/CVE-2023-38646-PoC","stars":12,"title":"Metabase Pre-auth RCE"},{"date":"2023-08-19T11:47:08Z","kind":"github_poc","ref":"https://github.com/kh4sh3i/CVE-2023-38646","stars":10,"title":"Metabase Pre-auth RCE (CVE-2023-38646)"},{"date":"2023-10-15T01:29:37Z","kind":"github_poc","ref":"https://github.com/Pyr0sec/CVE-2023-38646","stars":10,"title":"Exploit script for Pre-Auth RCE in Metabase (CVE-2023-38646)"},{"date":"2023-07-28T11:43:06Z","kind":"github_poc","ref":"https://github.com/Pumpkin-Garden/POC_Metabase_CVE-2023-38646","stars":6,"title":"For educational purposes only"}],"tier":"weaponised"},"has_fix":false,"headline":"Command injection in n/a","id":"CVE-2023-38646","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":0,"n_references":6,"next":{"headline":"Apache Helix: Deserialization vulnerability in Helix workflow and REST","id":"CVE-2023-38647"},"packages":[],"prev":{"headline":"Privilege escalation in SICAM TOOLBOX II","id":"CVE-2023-38641"},"products":["n/a"],"published":"2023-07-21","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 GeoJSON API Local File Inclusion","id":"CVE-2021-41277","kev_date_added":"2024-11-12","published":"2021-11-17"},{"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.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":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"Unauthenticated attackers can execute arbitrary commands on the server via Metabase, leading to full system compromise.","url":"https://insights.sbomify.com/CVE-2023-38646/"}