CVE-2021-31158
CVE-2021-31158 is a medium-severity vulnerability in Couchbase Couchbase Server with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-863.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 4.0
- EPSS exploit prediction: 1% (54th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-863
- Affected product: Couchbase Couchbase Server
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-31158?
- 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.
- How severe is CVE-2021-31158?
- CVE-2021-31158 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2021-31158 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (54th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-31158?
- CVE-2021-31158 affects Couchbase Couchbase Server. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-31158?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-31158 published?
- CVE-2021-31158 was published on 2021-05-19 and last updated on 2026-06-17.
References
- https://docs.couchbase.com/server/current/release-notes/relnotes.html
- https://www.couchbase.com/resources/security#SecurityAlerts
Affected products (1)
- cpe:2.3:a:couchbase:couchbase_server:*:*:*:*:*:*:*:*
More vulnerabilities in Couchbase Couchbase Server
- CVE-2023-49931 — Critical (CVSS 9.8): An issue was discovered in Couchbase Server before 7.2.4. SQL++ cURL calls to /diag/eval are not sufficiently…
- CVE-2023-49930 — Critical (CVSS 9.8): An issue was discovered in Couchbase Server before 7.2.4. cURL calls to /diag/eval are not sufficiently restricted.
- CVE-2021-35943 — Critical (CVSS 9.8): Couchbase Server 6.5.x and 6.6.x through 6.6.2 has Incorrect Access Control. Externally managed users are not prevented…
- CVE-2020-24719 — Critical (CVSS 9.8): Exposed Erlang Cookie could lead to Remote Command Execution (RCE) attack. Communication between Erlang nodes is done…
- CVE-2020-9039 — Critical (CVSS 9.8): Couchbase Server 4.0.0, 4.1.0, 4.1.1, 4.5.0, 4.5.1, 4.6.0 through 4.6.5, 5.0.0, 5.1.1, 5.5.0 and 5.5.1 have Insecure…
- CVE-2019-11495 — Critical (CVSS 9.8): In Couchbase Server 5.1.1, the cookie used for intra-node communication was not generated securely. Couchbase Server…
All CVEs affecting Couchbase Couchbase Server →
Other CWE-863 (Incorrect Authorization) vulnerabilities
- CVE-2026-121352 — Critical (CVSS 10.0): Adobe Connect is affected by an Incorrect Authorization vulnerability that could result in privilege escalation. An…
- CVE-2026-89103 — Critical (CVSS 10.0): SAP Gateway activates the default Access Control List with high privileges allowing categorization of external attacker…
- CVE-2026-111812 — Critical (CVSS 10.0): Apache Traffic Server's origin_server_auth plugin lets a client force signing of attacker-chosen AWS request headers…
- CVE-2026-90532 — Critical (CVSS 10.0): Adobe Experience Manager is affected by an Incorrect Authorization vulnerability that could result in arbitrary code…
- CVE-2026-48383 — Critical (CVSS 10.0): Adobe Experience Manager is affected by an Incorrect Authorization vulnerability that could result in arbitrary code…
- CVE-2026-48382 — Critical (CVSS 10.0): Adobe Experience Manager is affected by an Incorrect Authorization vulnerability that could result in arbitrary code…
Browse all CWE-863 (Incorrect Authorization) vulnerabilities →