Security mailing lists by PureSourceCode

CVE-2026-88029

MEDIUM 6.1CVSS 4.0

pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods

Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Python Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable. The affected rename operation may also rename a stored file other than the intended target.

Published
10 Sep 2026
Last modified
15 Oct 2026
Assigned by
cna@mongodb.com
NVD status
Analyzed
Weakness
CWE-943
Also known as
GHSA-8fvv-fgr5-f8chPYSEC-2026-4294
Sources
NVDJSONOSV GHSA-8fvv-fgr5-f8chJSONOSV PYSEC-2026-4294JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@mongodb.com (Secondary) CVSS 4.0 MEDIUM 6.1 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
OSV PyPA CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
NVD cna@mongodb.com (Secondary) CVSS 3.1 HIGH 8.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb python_driver
cpe:2.3:a:mongodb:python_driver:*:*:*:*:*:mongodb:*:*
>= 1.6, < 4.18.1 4.18.1
OSV PyPI pymongo < 4.18.1 4.18.1

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 10 Sep 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.