CVE-2026-81528
published medium CVSS 4.0 · 5.3NoSQL injection via array replacement bypassing update shape validation in driver write path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | C# Driver2.9.0 to < 3.11.1 · Other versions: unaffected | Affected | Not stated | mongodb |
Description
A MongoDB C# driver document-replacement code path omits the element-name/shape validation that the equivalent write paths apply, so a value supplied as a replacement is forwarded to the server without neutralization of query-language special elements. An application that passes untrusted, loosely-typed input as a replacement value therefore allows that input to be interpreted by the database as update logic rather than as data, executing under the application's own database credentials. Applications using strongly-typed document mappings are not affected.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | C# Driver | 2.9.0 to < 3.11.1 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-943 CWE-943: Improper Neutralization of Special Elements in Data Query Logic
References
2Provider assertions
2mongodb · cna
NoSQL injection via array replacement bypassing update shape validation in driver write path
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 740ac56d548ec900af2ecf5fce0a2d7456fb8d5b1486f1bfc8ab69d2e0a47d52
- Ingested
- 23 Sep 2026, 09:35:04 UTC
- Source record
- Official CVE record