
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-129934 is an information disclosure vulnerability in the MongoDB Go driver's connection string parser that exposes sensitive secrets in plain text within error messages. When a connection string query option containing an invalid percent encoding is parsed, the driver includes the raw, undecoded value in the resulting error — potentially revealing secrets such as TLS key file passwords or AWS session tokens. The vulnerability affects go.mongodb.org/mongo-driver v1.0.0 and all subsequent v1.x releases, as well as go.mongodb.org/mongo-driver/v2 versions 2.0.0 through 2.10.0 (fixed in 2.10.1). It carries a CVSS v3.1 base score of 4.7 (Medium) and a CVSS v4.0 base score of 5.7 (Medium), and was published on November 19, 2026 (Feedly, MongoDB JIRA).
The root cause is classified as CWE-209 (Generation of Error Message Containing Sensitive Information). When the Go driver's connection string parser encounters a query parameter value with an invalid percent-encoded sequence, it constructs an error message that embeds the raw, undecoded parameter value rather than a sanitized or redacted representation. If that parameter carries a sensitive credential — such as a tlsCertificateKeyFilePassword or an AWS session token passed as a URI option — the secret is exposed verbatim in the error string. Exploitation requires that an attacker already have low-privileged read access to wherever the application logs or surfaces errors (e.g., log files, monitoring dashboards, or error reporting services), and that the application actually encounters a malformed connection string at runtime (Feedly, MongoDB JIRA).
Successful exploitation results in a high confidentiality impact: sensitive credentials embedded in MongoDB connection strings — including TLS private key passwords and cloud provider session tokens — may be read by any party with access to application error output. There is no integrity or availability impact. Exposed credentials could enable an attacker to escalate privileges, authenticate to the MongoDB cluster or cloud services, and potentially pivot laterally within the environment (Feedly).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, and the NVD SSVC assessment classifies exploitation as "none" and the vulnerability as non-automatable. The attack vector is local, requires low privileges, and has high attack complexity (v3.1), meaning an attacker must already have read access to error logs or output and the application must encounter a malformed connection string. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (Feedly, MongoDB JIRA).
tlsCertificateKeyFilePassword or authMechanismProperties with an AWS session token) with an invalid percent-encoded value (e.g., a % not followed by two hex digits).tlsCertificateKeyFilePassword, authMechanismProperties, or similar sensitive options alongside malformed percent-encoded strings).MongoDB has released a fix in go.mongodb.org/mongo-driver/v2 version 2.10.1; users of the v2 module should upgrade to this version or later. For users of the v1.x module (go.mongodb.org/mongo-driver), no patched v1.x release is indicated — users should migrate to the v2 module and upgrade to 2.10.1. As an interim workaround, ensure that all sensitive values passed as MongoDB URI query parameters are correctly percent-encoded to avoid triggering the error path, and restrict access to application error logs and monitoring systems to the minimum necessary personnel (Feedly, MongoDB JIRA).
Fix availability across major Linux distributions and their releases.
bookworm
golang-mongodb-mongo-driver
sid
golang-mongodb-mongo-driver
trixie
golang-mongodb-mongo-driver
devel
golang-mongodb-mongo-driver
noble
golang-mongodb-mongo-driver
noble (esm-apps)
golang-mongodb-mongo-driver
resolute
golang-mongodb-mongo-driver
resolute (esm-apps)
golang-mongodb-mongo-driver
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."