Vulnerability record · CVE-2021-31158 · published 19 May 2021
CVE-2021-31158: Couchbase server incorrect authorization vulnerability
Couchbase · Couchbase Server
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://docs.couchbase.com/server/current/release-notes/relnotes.html | Release NotesVendor Advisory |
| https://www.couchbase.com/resources/security#SecurityAlerts | Vendor Advisory |
| https://docs.couchbase.com/server/current/release-notes/relnotes.html | Release NotesVendor Advisory |
| https://www.couchbase.com/resources/security#SecurityAlerts | Vendor Advisory |
Track CVE-2021-31158 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-31158), CISA KEV, FIRST EPSS (scores of 2026-11-16). This page is refreshed as NVD updates the record.