CVE-2021-31158Couchbase Server
Medium 6.5
Follow: this CVE · Couchbase · Couchbase Server We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 55
- Auth required
- Yes
- Published
- May 19, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
In the Query Engine in Couchbase Server 6.5.x and 6.6.x through 6.6.1, Common Table Expression queries were not correctly checking the user's permissions, allowing read-access to resources beyond what those users were explicitly allowed to access.
What to do
- Apply the vendor's security update for Couchbase Server.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| couchbase | couchbase_server | ≥ 6.5.0 < 6.6.2 |
Official sources
References
Links published by the sources. Open them with care.
- docs.couchbase.com Release Notes Vendor Advisory
- www.couchbase.com Vendor Advisory