UBUNTU-CVE-2026-129926 (CVE-2026-129926)
Vulnerability from osv_ubuntu – Published: 2026-11-19 20:17 – Updated: 2026-11-25 17:45 – Source websiteThe MongoDB Python Driver does not neutralize NUL characters in the user name and password values it places into the message it builds for SASL PLAIN authentication. A party who can choose the login values that an application passes to the driver can alter where the fields of that message begin and end. This may result in a receiving system reading a login name and secret that differ from the values the application supplied. Authenticating as a different account still requires that account's password. Only deployments that use SASL PLAIN authentication are affected.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-bson",
"binary_version": "2.6.3-1build1"
},
{
"binary_name": "python-bson-ext",
"binary_version": "2.6.3-1build1"
},
{
"binary_name": "python-gridfs",
"binary_version": "2.6.3-1build1"
},
{
"binary_name": "python-pymongo",
"binary_version": "2.6.3-1build1"
},
{
"binary_name": "python-pymongo-ext",
"binary_version": "2.6.3-1build1"
},
{
"binary_name": "python3-bson",
"binary_version": "2.6.3-1build1"
},
{
"binary_name": "python3-bson-ext",
"binary_version": "2.6.3-1build1"
},
{
"binary_name": "python3-gridfs",
"binary_version": "2.6.3-1build1"
},
{
"binary_name": "python3-pymongo",
"binary_version": "2.6.3-1build1"
},
{
"binary_name": "python3-pymongo-ext",
"binary_version": "2.6.3-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "pymongo",
"purl": "pkg:deb/ubuntu/pymongo@2.6.3-1build1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.6-1",
"2.6.2-1",
"2.6.3-1",
"2.6.3-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-bson",
"binary_version": "3.2-1ubuntu0.1~esm1"
},
{
"binary_name": "python-bson-ext",
"binary_version": "3.2-1ubuntu0.1~esm1"
},
{
"binary_name": "python-gridfs",
"binary_version": "3.2-1ubuntu0.1~esm1"
},
{
"binary_name": "python-pymongo",
"binary_version": "3.2-1ubuntu0.1~esm1"
},
{
"binary_name": "python-pymongo-ext",
"binary_version": "3.2-1ubuntu0.1~esm1"
},
{
"binary_name": "python3-bson",
"binary_version": "3.2-1ubuntu0.1~esm1"
},
{
"binary_name": "python3-bson-ext",
"binary_version": "3.2-1ubuntu0.1~esm1"
},
{
"binary_name": "python3-gridfs",
"binary_version": "3.2-1ubuntu0.1~esm1"
},
{
"binary_name": "python3-pymongo",
"binary_version": "3.2-1ubuntu0.1~esm1"
},
{
"binary_name": "python3-pymongo-ext",
"binary_version": "3.2-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "pymongo",
"purl": "pkg:deb/ubuntu/pymongo@3.2-1ubuntu0.1~esm1?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.0.3-1",
"3.2-1",
"3.2-1build1",
"3.2-1ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-bson",
"binary_version": "3.6.1+dfsg1-1ubuntu0.1~esm1"
},
{
"binary_name": "python-bson-ext",
"binary_version": "3.6.1+dfsg1-1ubuntu0.1~esm1"
},
{
"binary_name": "python-gridfs",
"binary_version": "3.6.1+dfsg1-1ubuntu0.1~esm1"
},
{
"binary_name": "python-pymongo",
"binary_version": "3.6.1+dfsg1-1ubuntu0.1~esm1"
},
{
"binary_name": "python-pymongo-ext",
"binary_version": "3.6.1+dfsg1-1ubuntu0.1~esm1"
},
{
"binary_name": "python3-bson",
"binary_version": "3.6.1+dfsg1-1ubuntu0.1~esm1"
},
{
"binary_name": "python3-bson-ext",
"binary_version": "3.6.1+dfsg1-1ubuntu0.1~esm1"
},
{
"binary_name": "python3-gridfs",
"binary_version": "3.6.1+dfsg1-1ubuntu0.1~esm1"
},
{
"binary_name": "python3-pymongo",
"binary_version": "3.6.1+dfsg1-1ubuntu0.1~esm1"
},
{
"binary_name": "python3-pymongo-ext",
"binary_version": "3.6.1+dfsg1-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "pymongo",
"purl": "pkg:deb/ubuntu/pymongo@3.6.1+dfsg1-1ubuntu0.1~esm1?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.4.0-1build2",
"3.6.1+dfsg1-1",
"3.6.1+dfsg1-1ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-bson",
"binary_version": "3.10.1-0ubuntu2.1"
},
{
"binary_name": "python3-bson-ext",
"binary_version": "3.10.1-0ubuntu2.1"
},
{
"binary_name": "python3-gridfs",
"binary_version": "3.10.1-0ubuntu2.1"
},
{
"binary_name": "python3-pymongo",
"binary_version": "3.10.1-0ubuntu2.1"
},
{
"binary_name": "python3-pymongo-ext",
"binary_version": "3.10.1-0ubuntu2.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "pymongo",
"purl": "pkg:deb/ubuntu/pymongo@3.10.1-0ubuntu2.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.7.1-1.1",
"3.7.1-1.1build1",
"3.10.1-0ubuntu2",
"3.10.1-0ubuntu2.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-bson",
"binary_version": "3.11.0-1ubuntu0.22.04.1"
},
{
"binary_name": "python3-bson-ext",
"binary_version": "3.11.0-1ubuntu0.22.04.1"
},
{
"binary_name": "python3-gridfs",
"binary_version": "3.11.0-1ubuntu0.22.04.1"
},
{
"binary_name": "python3-pymongo",
"binary_version": "3.11.0-1ubuntu0.22.04.1"
},
{
"binary_name": "python3-pymongo-ext",
"binary_version": "3.11.0-1ubuntu0.22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "pymongo",
"purl": "pkg:deb/ubuntu/pymongo@3.11.0-1ubuntu0.22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.11.0-1build2",
"3.11.0-1build3",
"3.11.0-1build4",
"3.11.0-1ubuntu0.22.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-bson",
"binary_version": "3.11.0-1ubuntu0.24.04.1"
},
{
"binary_name": "python3-bson-ext",
"binary_version": "3.11.0-1ubuntu0.24.04.1"
},
{
"binary_name": "python3-gridfs",
"binary_version": "3.11.0-1ubuntu0.24.04.1"
},
{
"binary_name": "python3-pymongo",
"binary_version": "3.11.0-1ubuntu0.24.04.1"
},
{
"binary_name": "python3-pymongo-ext",
"binary_version": "3.11.0-1ubuntu0.24.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "pymongo",
"purl": "pkg:deb/ubuntu/pymongo@3.11.0-1ubuntu0.24.04.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.11.0-1build6",
"3.11.0-1build7",
"3.11.0-1build8",
"3.11.0-1ubuntu0.24.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-bson",
"binary_version": "4.17.0-1"
},
{
"binary_name": "python3-bson-ext",
"binary_version": "4.17.0-1"
},
{
"binary_name": "python3-gridfs",
"binary_version": "4.17.0-1"
},
{
"binary_name": "python3-pymongo",
"binary_version": "4.17.0-1"
},
{
"binary_name": "python3-pymongo-ext",
"binary_version": "4.17.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.10",
"name": "pymongo",
"purl": "pkg:deb/ubuntu/pymongo@4.17.0-1?arch=source\u0026distro=stonking"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.16.0-1build1",
"4.17.0-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-bson",
"binary_version": "4.16.0-1build1"
},
{
"binary_name": "python3-bson-ext",
"binary_version": "4.16.0-1build1"
},
{
"binary_name": "python3-gridfs",
"binary_version": "4.16.0-1build1"
},
{
"binary_name": "python3-pymongo",
"binary_version": "4.16.0-1build1"
},
{
"binary_name": "python3-pymongo-ext",
"binary_version": "4.16.0-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "pymongo",
"purl": "pkg:deb/ubuntu/pymongo@4.16.0-1build1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.10.1-6",
"4.15.3-1",
"4.15.3-2",
"4.15.5-1",
"4.16.0-1",
"4.16.0-1build1"
]
}
],
"aliases": [],
"details": "The MongoDB Python Driver does not neutralize NUL characters in the user name and password values it places into the message it builds for SASL PLAIN authentication. A party who can choose the login values that an application passes to the driver can alter where the fields of that message begin and end. This may result in a receiving system reading a login name and secret that differ from the values the application supplied. Authenticating as a different account still requires that account\u0027s password. Only deployments that use SASL PLAIN authentication are affected.",
"id": "UBUNTU-CVE-2026-129926",
"modified": "2026-11-25T17:45:48Z",
"published": "2026-11-19T20:17:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-129926"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-129926"
},
{
"type": "REPORT",
"url": "https://jira.mongodb.org/browse/PYTHON-6073"
}
],
"related": [],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
"source": "CNA",
"type": "CVSS_V4"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-129926"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.