CVE-2025-52490: Couchbase Sync Gateway Cleartext Password Exposure Vulnerability

couchbase Updated 20 May 2026

Summary

29/07/2025
Yes i
High
7.3

CVE-2025-52490: An issue was discovered in Couchbase Sync Gateway before 3.2.6. Affects couchbase versions < 3.2.6. Fixed in 3.2.6. How to fix ↓

Also tracked for

The same CVE-2025-52490 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Couchbase Sync Gateway is a critical component of the Couchbase ecosystem, enabling synchronization of data between Couchbase Server and mobile devices. It provides features such as data access control, user authentication, and real-time data synchronization. However, prior to version 3.2.6, it was found to have a significant security flaw that could expose sensitive information.

Vulnerability Detail

An issue was discovered in Couchbase Sync Gateway before version 3.2.6, where cleartext passwords were logged in both sgcollect_info_options.log and sync_gateway.log files. This vulnerability poses a serious risk as it allows unauthorized access to sensitive user credentials, potentially leading to data breaches and unauthorized system access. The CVSS score for this vulnerability is 7.3, indicating a high severity level.

How To Fix

Latest published version: 4.6.3 as of 23 Oct 2026

pip install --upgrade "couchbase==4.6.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.2.6

This is the first release that contains the fix.

pip install --upgrade "couchbase==3.2.6"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, it is advisable to restrict access to the log files and ensure that they are not accessible to unauthorized users. Additionally, consider implementing logging configurations that do not log sensitive information.

Conclusion

The Couchbase Sync Gateway vulnerability (CVE-2025-52490) highlights the importance of securing sensitive information in logs. Users are strongly encouraged to update to version 3.2.6 or later to mitigate the risks associated with cleartext password exposure.

See every vulnerability recorded for couchbase →

Share this vulnerability

FAQ

Couchbase Sync Gateway is a server-side component that facilitates data synchronization between Couchbase Server and mobile applications, providing features like data access control and user authentication.

Cleartext passwords are passwords that are stored or transmitted in an unencrypted format, making them easily readable and vulnerable to interception.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If updating is not possible, ensure that access to log files is restricted and consider implementing logging configurations that do not expose sensitive information.

The CVSS score of this vulnerability is 7.3, indicating a high severity level that requires immediate attention.

Related vulnerabilities

Recent vulnerabilities recorded for couchbase.

How To Fix

Latest published version: 4.6.3 as of 23 Oct 2026

pip install --upgrade "couchbase==4.6.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.2.6

This is the first release that contains the fix.

pip install --upgrade "couchbase==3.2.6"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback