CVE-2021-31158: couchbase couchbase_server Incorrect Authorization
Vulnerability summary
CVE-2021-31158 is a medium (CVSS 6.5) Incorrect Authorization vulnerability in couchbase couchbase_server. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 54.7% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 19-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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 metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
0.70%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.70% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Couchbase1 product
- couchbase_server≥ 6.5.0, < 6.6.2
1 vendor · 1 product
References
2 links- docs.couchbase.com/server/current/release-notes/relnotes.htmlX Refsource MISCRelease NotesVendor Advisory