Bug 2577206 (CVE-2026-129934)

Summary: CVE-2026-129934 go.mongodb.org/mongo-driver: go.mongodb.org/mongo-driver/v2: MongoDB Go driver: Information disclosure via connection string parsing errors
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aazores, akhatavk, akostadi, alebedev, amasferr, amctagga, anjoseph, anpicker, ansmith, aoconnor, aos-team-art-private, asdas, asegurap, bbrownin, bniver, cmah, dfreiber, dhanak, dkeler, dmayorov, dpaolell, drosa, drow, dsimansk, dymurray, eaguilar, ebaron, ebourniv, efried, eglynn, flucifre, gbenhaim, gmeno, gparvin, groman, hasun, hoberger, ibolton, jbalunas, jbritton, jburrell, jdelft, jdobes, jfula, jjoyce, jlanda, jlledo, jmatsuok, jmatthew, jmontleo, jowilson, jprabhak, jpretori, jschluet, jtolenti, jupierce, kaycoth, kbempah, kingland, kshier, lberk, lchilton, lgamliel, lgarciaa, lhh, lpele, mbenjamin, mbiarnes, mburns, mgarciac, mhackett, mnovotny, mold, niyer, nyancey, ometelka, orabin, pantinor, pgaikwad, pjindal, ppalepu, ppostler, prdhamdh, ptisnovs, rbobbitt, rekumar, rhaigner, rhel-process-autobot, sakbas, sarad, sausingh, sbratsla, sbunciak, sdawley, sfeifer, sghai, sidsharm, simaishi, slucidi, solenoci, sostapov, sprizend, sseago, stcannon, suppawar, syedriko, thason, tsedmik, tsze, twaugh, vereddy, vkumar, vlaad, vvoronko, watson-tool-maintainers, whayutin, wtam, xdharmai, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the MongoDB Go driver. This vulnerability can result in information disclosure when parsing database connection strings. When a connection string query option contains invalid percent-encoded characters, the driver includes the raw option value in plain text within the returned error message. If the option contains sensitive data, such as a password or authentication token, an attacker with low-privileged access to application logs or error outputs can view the exposed secret.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2577918, 2577919, 2577920, 2577921, 2577922, 2577923, 2577924, 2577925, 2577926, 2577927, 2577928, 2577929, 2577932, 2577933, 2577934, 2577935, 2577936, 2577937, 2577939, 2577940, 2577930, 2577931    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-19 19:31:28 UTC
The MongoDB Go driver's connection string parser includes the raw, undecoded value of a query option in the error it returns when that value contains invalid percent encodings. When the option holds a secret, such as a TLS key file password or an AWS session token, the secret appears in plain text in the error. A party with low-privileged read access to wherever the application records or displays that error may learn the secret.