CVE-2026-56782 Gorse - Unauthenticated Database Dump and Restore via /api/dump and /api/restore Endpoints

Critical 9.3 Published Updated

Unauthenticated attackers can dump or restore the entire database via API endpoints when the admin key is empty, exposing sensitive data and allowing dataset overwrites.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-56782?

CVE-2026-56782 is a critical authentication bypass vulnerability in gorse-io gorse, published on 29 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Gorse before 0.5.10 contains an authentication bypass vulnerability in the /api/dump and /api/restore endpoints that allows unauthenticated attackers to access protected functionality when admin_api_key is empty, which is the default configuration. Remote attackers can exfiltrate the entire database including user records, items, and feedback data containing personally identifiable information, or completely overwrite the dataset without authentication.

Weakness: CWE-306

Which versions are affected by CVE-2026-56782?

How do I fix CVE-2026-56782?

No fix has been published for CVE-2026-56782 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-56782 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56782 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-65p2-39gr-3m25.

Is CVE-2026-56782 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free