CVE-2026-144282: Insufficiently Protected Credentials in MongoDB Spark Connector Catalog Metadata
The MongoDB Spark Connector has an insufficiently protected credentials weakness in its catalog table metadata. When the connection string with embedded credentials is set on the catalog, a Spark SQL user with basic privileges can read table metadata and see that connection string in plaintext. The result may be unintended disclosure of the configured database username and password.
Affected Software
Event History
Frequently Asked Questions
Who can access the exposed credentials?
A Spark SQL user with basic privileges can read catalog table metadata and view a catalog connection string in plaintext when that string contains embedded credentials.
What configuration creates exposure?
Exposure occurs when a connection string containing a database username and password is set on the catalog. The provided information does not establish that catalogs without embedded credentials are affected.
How can I determine whether my environment is affected?
Review catalog connection string configuration for embedded database credentials, then check whether basic-privilege Spark SQL users can read the associated table metadata. Plaintext connection strings visible in that metadata indicate exposure.
What can be done if a patch is not immediately available?
Avoid setting connection strings with embedded credentials on the catalog, and limit basic Spark SQL users' ability to read catalog table metadata where possible. Rotate any database credentials that may already have been exposed.