CVE-2021-31158: Couchbase Server
Medium severity, CVSS 6.5. EPSS: 0.7% chance of exploitation in the next 30 days.
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.
Affected products
- Couchbase Couchbase Server: from 6.5.0, before 6.6.2 (fixed in 6.6.2)
Published 2021-05-19. Last modified 2026-06-17.