---
id: CVE-2026-104004
title: >-
  MongoDB Server's collection validation feature may not properly handle certain
  expressions stored in a validator
summary: >-
  MongoDB Server's collection validation feature may not properly handle certain
  expressions stored in a validator. In some cases, this can cause the server
  process to stop running when a document is later inserted. The behavior can
  occur …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
published: '2026-10-13'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T16:17:10.930'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104004'
references:
  - url: 'https://jira.mongodb.org/browse/SERVER-131412'
    label: cna@mongodb.com
tags:
  - nvd
ingestedAt: '2026-10-13T16:35:46.738Z'
---

## Overview

MongoDB Server's collection validation feature may not properly handle certain expressions stored in a validator. In some cases, this can cause the server process to stop running when a document is later inserted. The behavior can occur for authenticated users with write access.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
