BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-27925 in Couchbase Server

Medium 4.4 Fix available

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.

CVSS 3.14.4
EPSS0.5%
EPSS percentile38th
FixAvailable

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

VendorProductAffected 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

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot 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 IDCVE-2021-27925
BreachSpider IDBS-2021-GLOBAL-268642-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Published2021-05-19
Last modified2024-11-21
Weakness (CWE)
SourceNVD

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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.