CVE-2022-32563Couchbase Sync Gateway
Critical 9.8 No auth needed
Follow: this CVE · Couchbase · Couchbase Sync Gateway We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Jun 10, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Sync Gateway.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | couchbase |
≥ 3.0.0 < 3.0.2 |
3.0.2 |
pip install "couchbase>=3.0.2" |
| PyPI | couchbase |
≥ 3.0.0 < 3.0.2 |
3.0.2 |
pip install "couchbase>=3.0.2" |
Per OSV / GitHub Advisories (GHSA-9266-j9v3-q4j5, PYSEC-2022-207). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| couchbase | sync_gateway | ≥ 3.0.0 < 3.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- forums.couchbase.com Vendor Advisory
- www.couchbase.com Vendor Advisory