Home / Couchbase / Couchbase Server / CVE-2021-25645
CVE-2021-25645: is it exploited, and which versions of Couchbase Server are affected and fixed?
CVE-2021-25645 is a sensitive data stored in clear text vulnerability in Couchbase Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: couchbase server before 6.0.5, couchbase server from 6.1.0 before 6.5.2 and couchbase server from 6.6.0 before 6.6.1 (NVD). Fixed in 6.0.5, 6.5.2 and 6.6.1 (NVD). Severity: Medium (4.4, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:58 UTC.
What is CVE-2021-25645?
An issue was discovered in Couchbase Server before 6.0.5, 6.1.x through 6.5.x before 6.5.2, and 6.6.x before 6.6.1. An internal user with administrator privileges, @ns_server, leaks credentials in cleartext in the cbcollect_info.log, debug.log, ns_couchdb.log, indexer.log, and stats.log files. NOTE: updating the product does not automatically address leaks that occurred in the past.
From the CVE record by mitre, last updated August 3, 2024, 20:11 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| couchbase | couchbase server | before 6.0.5 | application |
| couchbase | couchbase server | from 6.1.0 before 6.5.2 | application |
| couchbase | couchbase server | from 6.6.0 before 6.6.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:42 UTC.
How severe is CVE-2021-25645?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | NVD |
| Low 2.1 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-25645 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.18% probability of exploitation activity in the next 30 days, percentile 7.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-312 Cleartext Storage of Sensitive Information
Where are the vendor advisories and references?
- https://www.couchbase.com/resources/security#SecurityAlerts x_refsource_CONFIRM
- https://www.couchbase.com/downloads x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 21, 2021
- Published
- May 10, 2021, 12:59 UTC
- CVE record updated
- August 3, 2024, 20:11 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 03:42 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Couchbase Server?
- Apr 30, 2025CVE-2025-46619 Couchbase Server: improper access control
- Jan 27, 2025CVE-2024-56178 Couchbase Server: permissions not preserved
- Sep 19, 2024CVE-2024-25673 Couchbase Server: injection
- Jul 26, 2024CVE-2024-37034 Couchbase Server: weak encryption
- Mar 27, 2024CVE-2023-43768 Couchbase Server: denial of service (resources allocated without limits)
- Feb 28, 2024CVE-2024-23302 Couchbase Server: information disclosure
- Feb 28, 2024CVE-2023-50437 Couchbase Server: incorrect Privilege Assignment
- Feb 28, 2024CVE-2023-50436 Couchbase Server: credentials insufficiently protected
Questions about CVE-2021-25645
Is CVE-2021-25645 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.18% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Couchbase Server are affected by CVE-2021-25645?
couchbase server before 6.0.5, couchbase server from 6.1.0 before 6.5.2 and couchbase server from 6.6.0 before 6.6.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2021-25645?
6.0.5, 6.5.2 and 6.6.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-25645?
Medium (4.4, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-25645?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.