CVE-2019-9039: couchbase sync_gateway
Vulnerability summary
CVE-2019-9039 is a critical (CVSS 9.8) vulnerability in couchbase sync_gateway. EPSS estimates a 2.74% chance of exploitation in the next 30 days, higher than 86.6% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 26-06-2019PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
In Couchbase Sync Gateway 2.1.2, an attacker with access to the Sync Gateway’s public REST API was able to issue additional N1QL statements and extract sensitive data or call arbitrary N1QL functions through the parameters "startkey" and "endkey" on the "_all_docs" endpoint. By issuing nested queries with CPU-intensive operations they may have been able to cause increased resource usage and denial of service conditions. The _all_docs endpoint is not required for Couchbase Mobile replication and external access to this REST endpoint has been blocked to mitigate this issue. This issue has been fixed in versions 2.5.0 and 2.1.3.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · GoEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.74%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.74% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (research.hisolutions.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Couchbase1 product
- sync_gateway2.1.2
Github.com/couchbase1 product
- sync_gateway< 2.5.0
2 vendors · 2 products
References
6 links- docs.couchbase.com/sync-gateway/2.5/release-notes.htmlX Refsource CONFIRMWEBRelease NotesVendor Advisory
- research.hisolutions.com/2019/06/n1ql-injection-in-couchbase-sync-gateway-cve-2019-9039/X Refsource MISCExploitThird Party Advisory