Skip to content
OpenAdvisories
Medium · 4.4 CVE-2025-6711 EUVD-2025-20248GHSA-2844-pfq3-9x4m

Incomplete Redaction of Sensitive Information in MongoDB Server Logs

Published Jul 7, 2025 · Updated Jul 7, 2025 · Assigned by mongodb

Description

An issue has been identified in MongoDB Server where unredacted queries may inadvertently appear in server logs when certain error conditions are encountered. This issue affects MongoDB Server v8.0 versions prior to 8.0.5, MongoDB Server v7.0 versions prior to 7.0.18 and MongoDB Server v6.0 versions prior to 6.0.21.

Affected products

VendorProductAffectedFixed
MongoDB MongoDB Server 6.0 – < 6.0.21, 7.0 – < 7.0.18, 8.0 – < 8.0.5 6.0.21

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS mongodb No fix yet —
Ubuntu Pro 18.04 LTS mongodb No fix yet —
Ubuntu Pro 16.04 LTS mongodb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS mongodb No fix yet —

Advisories 1

References