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% (51st 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% (51st 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-69555 — Critical (CVSS 10.0): Incorrect authorization in Azure Arc allows an unauthorized attacker to elevate privileges over a network.
- CVE-2026-71398 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Incorrect Authorization vulnerability that could result in arbitrary…
- CVE-2026-27302 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Incorrect Authorization vulnerability that could result in arbitrary…
- CVE-2026-48449 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Incorrect Authorization vulnerability that could result in arbitrary…
- CVE-2026-48286 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) versions 7.4.3 build 9396 and earlier are affected by an Incorrect Authorization…
- CVE-2026-48303 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) versions 7.4.3 build 9394 and earlier are affected by an Incorrect Authorization…
Browse all CWE-863 (Incorrect Authorization) vulnerabilities →