CVE-2022-32563 in Couchbase Sync Gateway
An issue was discovered in Couchbase Sync Gateway 3.x before 3.0.2. Admin credentials are not verified when using X.509 client-certificate authentication from Sync Gateway to Couchbase Server. When Sync Gateway is configured to authenticate with Couchbase Server using X.509 client certificates, the admin credentials...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Couchbase | Sync Gateway | ≥ 3.0.0, < 3.0.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered in Couchbase Sync Gateway 3.x before 3.0.2. Admin credentials are not verified when using X.509 client-certificate authentication from Sync Gateway to Couchbase Server. When Sync Gateway is configured to authenticate with Couchbase Server using X.509 client certificates, the admin credentials provided to the Admin REST API are ignored, resulting in privilege escalation for unauthenticated users. The Public REST API is not impacted by this issue. A workaround is to replace X.509 certificate based authentication with Username and Password authentication inside the bootstrap configuration.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-32563 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-068119-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-06-10 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-295: CWE-295
Related attack patterns (CAPEC)
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295
CAPEC-475 Signature Spoofing by Improper Validation via CWE-295
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical vulnerability in Couchbase Sync Gateway 3.x before 3.0.2 allows privilege escalation due to improper verification of admin credentials when using X.509 client-certificate authentication.
An attacker with access to the Admin REST API and the ability to present a valid X.509 client certificate can escalate privileges, as the admin credentials provided are ignored.
Questions
What is CVE-2022-32563?
A critical vulnerability in Couchbase Sync Gateway 3.x before 3.0.2 allows privilege escalation due to improper verification of admin credentials when using X.509 client-certificate authentication.
What is the CVSS score for CVE-2022-32563?
CVE-2022-32563 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.8%.
Is CVE-2022-32563 actively exploited?
No confirmed active exploitation of CVE-2022-32563 as of 2026-09-25.
How do I remediate CVE-2022-32563?
Priority: IMMEDIATE. Advisory: https://forums.couchbase.com/tags/security PSIRT: [email protected]
What systems are affected by CVE-2022-32563?
CVE-2022-32563 affects Couchbase Sync Gateway.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Couchbase","product":"Sync Gateway","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.