MongoDB Spark Connector exposes database credentials in catalog metadata
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-522.
Summary
The MongoDB Spark Connector stores a connection string with embedded credentials in plaintext in catalog table metadata when that string is set on the catalog (CWE-522). A Spark SQL user with basic privileges can read this metadata and see the configured database username and password. Affected MongoDB Connectors ranges are 10.0.0 through 10.0.5, 10.1.0 through 10.1.1, 10.2.0 through 10.2.3, 10.3.0, 10.4.0 through 10.4.1, 10.5.0, 10.6.0 through 10.6.2, 10.7.0, 11.0.0 through 11.0.2, and 11.1.0.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MongoDB | Connectors | 10.0.0 – 10.0.5; 10.1.0 – 10.1.1; 10.2.0 – 10.2.3; 10.3.0; 10.4.0 – 10.4.1; 10.5.0; 10.6.0 – 10.6.2; 10.7.0; 11.0.0 – 11.0.2; 11.1.0 | — | No fix listed | CNA |
- Connectors VendorMongoDB Affected 10.0.0 – 10.0.5; 10.1.0 – 10.1.1; 10.2.0 – 10.2.3; 10.3.0; 10.4.0 – 10.4.1; 10.5.0; 10.6.0 – 10.6.2; 10.7.0; 11.0.0 – 11.0.2; 11.1.0 Fixed in — No fix listed CNA
Remediation
MongoDB lists no fixed version for these ranges. Restrict which users can read Spark catalog table metadata, and avoid setting connection strings with embedded credentials on the catalog until a fix is available.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Timeline
- 2026-12-03 Threatist record created from CVE-2026-144282
References
More MongoDB vulnerabilities
- TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
- TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences