# CVE-2022-32563: Couchbase Sync Gateway admin credentials not verified when using X.509 client cert authentication

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 58% of CVEs (2026-12-01)
- Published: 2022-06-10T11:57:58.000Z
- Modified: 2026-06-17T04:47:33.750Z
- Also known as: GHSA-9266-j9v3-q4j5, PYSEC-2022-207
- Weaknesses: CWE-295
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- couchbase (PyPI): from 3.0.0 before 3.0.2
- couchbase sync_gateway: from 3.0.0 before 3.0.2

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://forums.couchbase.com/tags/security> (vendor-advisory, web)
- <https://www.couchbase.com/alerts> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-32563> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/couchbase/PYSEC-2022-207.yaml> (web)
- <https://www.couchbase.com/alerts/#CVE-2022-32563> (web)
- <https://github.com/advisories/GHSA-9266-j9v3-q4j5> (advisory)

## Sources

- CVE List: [CVE-2022-32563](https://www.cve.org/CVERecord?id=CVE-2022-32563), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-9266-j9v3-q4j5](https://github.com/advisories/GHSA-9266-j9v3-q4j5), CC-BY-4.0, modified 2024-09-13
- NVD: [CVE-2022-32563](https://nvd.nist.gov/vuln/detail/CVE-2022-32563), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-207](https://osv.dev/vulnerability/PYSEC-2022-207), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2022-32563 · Whole record: https://cve.day/CVE-2022-32563.json · Rebuilt by cve.day 2026-11-25T22:58:12.210Z
