CVE-2025-52490 Couchbase Sync Gateway shows cleartext passwords in redacted and unredacted output
Cleartext passwords are exposed in log files, allowing attackers with log access to steal credentials.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-52490?
CVE-2025-52490 is a high-severity vulnerability in n/a, published on 29 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in Couchbase Sync Gateway before 3.2.6. In sgcollect_info_options.log and sync_gateway.log, there are cleartext passwords in redacted and unredacted output.
Weakness: CWE-319
Which versions are affected by CVE-2025-52490?
4 open source packages ship an affected version, including github.com/couchbase/sync_gateway and couchbase. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/couchbase/sync_gateway Go | All versions | None |
github.com/couchbase/sync_gateway Go | All versions | 3.2.6 |
github.com/couchbase/sync_gateway Go | All versions | 3.2.6 |
couchbase PyPI | All versions | 3.2.6 |
Products include Couchbase Sync Gateway.
How do I fix CVE-2025-52490?
Upgrade github.com/couchbase/sync_gateway to 3.2.6 or later.
Is CVE-2025-52490 being exploited?
There is no known exploitation of CVE-2025-52490 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-pqhp-4xfc-hjgq, GO-2026-5550, PYSEC-2025-101.