Improper Neutralization of Special Elements in Data Query Logic in mongo-python-driver - CVE-2026-88029

 

Improper Neutralization of Special Elements in Data Query Logic in mongo-python-driver - CVE-2026-88029

Published: September 22, 2026


Vulnerability identifier: #VU151672
CSH Severity: Medium
CVSS v4: 7.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-88029
CWE-ID: CWE-943
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to access, modify, or delete GridFS files.

The vulnerability exists due to improper neutralization of special elements in data query logic in the GridFS API when a Hash is supplied in place of a file ID. A remote user can supply a Hash that is interpreted as query criteria and overrides the ID match to access, modify, or delete GridFS files.


Affected software

mongo-python-driver
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
python3-PyMySQL
python3-docutils
python3-wheel-wheel
python3-wheel
python3-scipy
python3-sqlalchemy
python-sqlalchemy-doc
python-nose-docs
python3-nose
python3-distro
python3-pygments
python3-docs
python36-devel
python36-debug
python36
python36-rpm-macros
python3-pymongo
python-pymongo-doc
python3-pymongo-gridfs
python3-bson
python-virtualenv-doc
python3-virtualenv

How to mitigate CVE-2026-88029

Install security update from vendor's website.

mongo-python-driver - update to 4.18.1
python3-PyMySQL - update to 0.10.1-2
python3-docutils - update to 0.14-12
python3-wheel-wheel - update to 0.31.1-3
python3-wheel - update to 0.31.1-3
python3-scipy - update to 1.0.0-21
python3-sqlalchemy - update to 1.3.2-3
python-sqlalchemy-doc - update to 1.3.2-3
python-nose-docs - update to 1.3.7-31
python3-nose - update to 1.3.7-31
python3-distro - update to 1.4.0-2
python3-pygments - update to 2.2.0-22
python3-docs - update to 3.6.7-2
python36-devel - update to 3.6.8-39
python36-debug - update to 3.6.8-39
python36 - update to 3.6.8-39
python36-rpm-macros - update to 3.6.8-39
python3-pymongo - update to 3.7.0-3.0.1
python-pymongo-doc - update to 3.7.0-3.0.1
python3-pymongo-gridfs - update to 3.7.0-3.0.1
python3-bson - update to 3.7.0-3.0.1
python-virtualenv-doc - update to 15.1.0-23
python3-virtualenv - update to 15.1.0-23

External References

Related Security Bulletins