GHSA-g622-r636-qfqh · Severity: critical · Ecosystem: go — SQL Injection in Couchbase Sync Gateway
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.
Conclusion & alert: CVE-2019-9039 is rated High Exploit Risk (86.2/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 2.74%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +2.55% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.19% | 2.74% | +2.55% |
| 2 | 2026-02-08 | 0.25% | 0.19% | -0.06% |
| 3 | 2025-11-21 | — | 0.25% | — |
Full EPSS history (14 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.0 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
GHSA-g622-r636-qfqh · Severity: critical · Ecosystem: go — SQL Injection in Couchbase Sync Gateway
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| couchbase | sync_gateway | 2.1.2 | cpe:2.3:a:couchbase:sync_gateway:2.1.2:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://docs.couchbase.com/sync-gateway/2.5/release-notes.html | Release Notes Vendor Advisory |
| https://research.hisolutions.com/2019/06/n1ql-injection-in-couchbase-sync-gateway-cve-2019-9039/ | Exploit Third Party Advisory |
| https://www.couchbase.com/resources/security#SecurityAlerts |