PatchSiren cyber security CVE debrief
CVE-2026-129925 MongoDB CVE debrief
The MongoDB Ruby Driver is vulnerable to authentication identity confusion via NUL-byte injection in SASL PLAIN credentials. This issue allows a party who can choose the login values that an application passes to the driver to alter where the fields of the SASL PLAIN authentication message begin and end. As a result, a receiving system may read a login name and secret that differ from the values the application supplied. However, authenticating as a different account still requires that account's password. Only deployments that use SASL PLAIN authentication are affected.
- Vendor
- MongoDB
- Product
- Ruby Driver
- CVSS
- MEDIUM 6.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-19
- Original CVE updated
- 2026-11-19
- Advisory published
- 2026-11-19
- Advisory updated
- 2026-11-19
Who should care
Defenders and administrators responsible for MongoDB Ruby Driver deployments, especially those using SASL PLAIN authentication, should assess their exposure and consider necessary actions. This includes verifying driver versions, planning for upgrades, and implementing monitoring for unusual authentication attempts.
Why it matters
CVE-2026-129925 involves authentication identity confusion in the MongoDB Ruby Driver due to NUL-byte injection in SASL PLAIN credentials. Defenders should verify driver versions, consider upgrades, and implement monitoring to mitigate potential risks.
- Defenders need to verify driver versions to identify potential exposure.
- Authentication configurations may require adjustments to mitigate the issue.
- Monitoring for unusual authentication attempts is crucial to detect potential exploitation.
- Upgrading to a non-affected version of the driver may be necessary.
Technical summary
The MongoDB Ruby Driver does not neutralize NUL characters in user name and password values during SASL PLAIN authentication. This allows a party who can choose the login values to alter the fields of the authentication message. The issue affects deployments using SASL PLAIN authentication. Versions 2.0.0 through 2.26.2 are known to be affected. To mitigate, defenders should prioritize verifying the versions of the MongoDB Ruby Driver in use and assessing whether they are affected. Upgrading to a version beyond 2.26.2 may mitigate the issue. Additionally, defenders should consider implementing compensating controls, such as monitoring for unusual authentication attempts, and review and adjust authentication
Defensive priority
Defenders should prioritize verifying the versions of the MongoDB Ruby Driver in use and assessing whether they are affected by this vulnerability. Specifically, versions 2.0.0 through 2.26.2 are known to be affected. Upgrading to a version beyond 2.26.2 may mitigate the issue. Additionally, defenders should consider implementing compensating controls, such as monitoring for unusual authentication attempts.
Recommended defensive actions
- Verify the version of the MongoDB Ruby Driver in use and assess if it is affected (versions 2.0.0 through 2.26.2).
- Consider upgrading to a version of the driver beyond 2.26.2 if possible.
- Implement monitoring for unusual authentication attempts to detect potential exploitation.
- Review and adjust authentication configurations for SASL PLAIN to ensure secure authentication practices.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The CVE record and source item provide details about the vulnerability in the MongoDB Ruby Driver. The issue arises from the driver's failure to neutralize NUL characters in user name and password values during SASL PLAIN authentication. This allows for potential authentication identity confusion. However, the record does not provide information on known exploitation or specific attack scenarios.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-129925 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-129925
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-129925 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-129925
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/129xxx/CVE-2026-129925.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://jira.mongodb.org/browse/RUBY-3953
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.