CVE-2021-27925 in Couchbase Server
An issue was discovered in Couchbase Server 6.5.x and 6.6.x through 6.6.1. When using the View Engine and Auditing is enabled, a crash condition can (depending on a race condition) cause an internal user with administrator privileges, @ns_server, to have its credentials leaked in cleartext in the ns_server.info.log file.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Couchbase | Couchbase Server | ≥ 6.5.0, < 6.6.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered in Couchbase Server 6.5.x and 6.6.x through 6.6.1. When using the View Engine and Auditing is enabled, a crash condition can (depending on a race condition) cause an internal user with administrator privileges, @ns_server, to have its credentials leaked in cleartext in the ns_server.info.log file.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-27925 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-268642-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N |
| Published | 2021-05-19 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Couchbase Server 6.5.x and 6.6.x through 6.6.1 allows for the potential leakage of the @ns_server user's credentials in cleartext due to a crash condition when using the View Engine and Auditing is enabled.
The attack vector involves an internal user with administrator privileges, @ns_server, whose credentials may be exposed in the ns_server.info.log file under specific conditions related to a race condition in the View Engine and Auditing features.
Questions
What is CVE-2021-27925?
A vulnerability in Couchbase Server 6.5.x and 6.6.x through 6.6.1 allows for the potential leakage of the @ns_server user's credentials in cleartext due to a crash condition when using the View Engine and Auditing is enabled.
What is the CVSS score for CVE-2021-27925?
CVE-2021-27925 has CVSS 4.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.5%.
Is CVE-2021-27925 actively exploited?
No confirmed active exploitation of CVE-2021-27925 as of 2026-05-30.
How do I remediate CVE-2021-27925?
Priority: MEDIUM. Advisory: https://www.couchbase.com/downloads PSIRT: [email protected]
What systems are affected by CVE-2021-27925?
CVE-2021-27925 affects Couchbase Couchbase Server.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Couchbase","product":"Couchbase Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.