{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-59827 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-59827 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-59827 is a critical unsafe deserialization vulnerability in metabase, published on 9 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-59827 and fix it if it is affected.\n\nWhat it is: CVE-2026-59827 is a critical unsafe deserialization vulnerability in metabase, published on 9 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-59827 in the wild and no public exploit code.\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-2026-59827/ (Markdown: https://insights.sbomify.com/CVE-2026-59827/index.md)","id":"CVE-2026-59827","markdown":"https://insights.sbomify.com/CVE-2026-59827/index.md","name":"CVE-2026-59827","record":{"aliases":["GHSA-w95f-x9v9-wv36"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Business intelligence tool","requires_auth":"low_privilege","summary":"Authenticated users can execute arbitrary code on Metabase servers by exploiting unsafe deserialization of H2 query results.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"metabase","vendor":"metabase"}],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"Metabase is an open-source business intelligence and embedded analytics tool. Prior to 1.58.15, 1.59.12, 1.60.6.3, and 1.61.1.4, Metabase instances with an H2 database connection, including the default sample database, deserialize arbitrary Java objects returned in H2 native query result columns of type OTHER without validation, allowing an authenticated user who can run native H2 queries to execute code on the Metabase server. This issue is fixed in versions 1.58.15, 1.59.12, 1.60.6.3, and 1.61.1.4.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2026-07-15","github_poc":4,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-12T14:34:15Z","kind":"github_poc","ref":"https://github.com/Gutierre0x80/CVE-2026-59827","stars":3,"title":"Technical analysis and proof of concept for CVE-2026-59827, a critical unsafe Java deserialization vulnerability in Metabase leading to remote code execution."},{"date":"2026-07-23T08:46:44Z","kind":"github_poc","ref":"https://github.com/pickl31/CVE-2026-59827","stars":1,"title":"Metabase CVE-2026-59827 Vulnerability Scanner"},{"date":"2026-07-15T08:00:17Z","kind":"github_poc","ref":"https://github.com/c0gnit00/CVE-2026-59827","stars":0,"title":"Blog on CVE-2026-59827, Unsafe H2 query ouput deserialization"},{"date":"2026-09-03","kind":"exploitdb","ref":"52680","stars":null,"title":"Metabase 0.61.0  - Authenticated Remote Code Execution"},{"date":"2026-09-17T06:16:21Z","kind":"github_poc","ref":"https://github.com/shivammittal2403/cve-2026-59827-metabase-cyber-range","stars":0,"title":"Educational cyber range for CVE-2026-59827 (Metabase H2 unsafe deserialization / CWE-502). Isolated Docker lab — training only, not for attacking production Metabase."}],"tier":"poc_unverified"},"has_fix":false,"headline":"Metabase: Unsafe Deserialization of H2 Query Results","id":"CVE-2026-59827","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"Discourse: Hidden post revisions leak through adjacent visible diffs","id":"CVE-2026-59828"},"packages":[],"prev":{"headline":"Metabase: Arbitrary Code Execution via Database Connection Detail Bypass","id":"CVE-2026-59826"},"products":["metabase"],"published":"2026-07-09","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.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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-09","vendors":["metabase"]},"summary":"Authenticated users can execute arbitrary code on Metabase servers by exploiting unsafe deserialization of H2 query results.","url":"https://insights.sbomify.com/CVE-2026-59827/"}