CVE-2026-104004: 
MongoDB 취약점 분석 및 완화

개요

CVE-2026-104004 is a Denial of Service vulnerability in MongoDB Server's collection validation feature that may not properly handle certain expressions stored in a validator, causing the server process to crash when a document is subsequently inserted. It affects MongoDB Server versions 8.0.0–8.0.33, 8.3.0–8.3.12, and 9.0.0–9.0.3. The vulnerability was disclosed on October 13, 2026, with patches published the same day. It carries a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 7.1 (High) (GitHub Advisory).

기술적 세부사항

The root cause is classified as CWE-476 (NULL Pointer Dereference): MongoDB Server's collection validation logic fails to properly handle certain expressions embedded in a collection validator, leading to a null pointer dereference when a document insertion triggers evaluation of the malformed expression. The attack vector is network-based, requires low privileges (authenticated write access), no user interaction, and low attack complexity. An attacker must first create or have access to a collection with a specially crafted validator expression, then insert a document to trigger the crash (GitHub Advisory). The underlying issue is tracked in MongoDB's internal issue tracker as SERVER-131412.

영향

Successful exploitation results in a complete loss of availability for the MongoDB server process — the server stops running, causing a denial of service for all connected clients and applications. There is no impact on confidentiality or data integrity, as the vulnerability only affects availability. In environments where MongoDB is a critical backend, this could cause cascading failures in dependent services and applications (GitHub Advisory).

악용 가능성

There is no public proof-of-concept exploit code and no evidence of in-the-wild exploitation at the time of disclosure (GitHub Advisory). The EPSS score is 0.0, indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access with write privileges, which limits the attack surface compared to unauthenticated vulnerabilities.

착취 단계

  1. Obtain write access: Authenticate to the target MongoDB Server instance using valid credentials with write access to at least one collection (e.g., a low-privileged database user).
  2. Create or modify a collection validator: Use the db.createCollection() or db.runCommand({ collMod: ... }) command to set a collection validator containing a specially crafted expression that triggers improper handling in the validation engine.
  3. Insert a triggering document: Insert a document into the collection with the malicious validator. The server's validation logic evaluates the stored expression against the new document, triggering a NULL pointer dereference.
  4. Server crash achieved: The MongoDB server process terminates, resulting in a denial of service for all clients connected to that instance (GitHub Advisory).

타협의 징후

  • Logs: Unexpected MongoDB server process termination entries in mongod.log; crash stack traces referencing collection validation or expression evaluation code paths; log entries showing SERVER-131412-related assertion failures.
  • Process: Sudden absence of the mongod process; automatic restart events if a process supervisor (e.g., systemd, Docker) is configured.
  • Database: Collections with unusual or complex validator expressions that were recently created or modified, particularly by low-privileged users; audit log entries showing createCollection or collMod commands with validator fields from unexpected users or times.

완화 및 우회 방법

MongoDB has released patched versions addressing this vulnerability: upgrade to 9.0.4, 8.3.13, or 8.0.34 or later. As an interim workaround, restrict write access to collections with validators containing potentially complex or suspicious expressions, and review existing collection validators for unusual content. Monitoring for unexpected server shutdowns can help detect exploitation attempts (GitHub Advisory).

추가 리소스

리눅스 배포판 수정 현황

주요 리눅스 배포판과 그 릴리스 전반에 걸친 가용성을 수정하세요.

Ubuntu

알 수 없음

bionic (esm-apps)

mongodb

알 수 없음

focal (esm-apps)

mongodb

알 수 없음

trusty (esm-infra-legacy)

mongodb

알 수 없음

xenial (esm-apps-legacy)

mongodb

알 수 없음

소스: 이 보고서는 AI를 사용해 생성되었습니다

관련 MongoDB 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 악용

수정 사항이 있습니다

출판일

CVE-2026-96299HIGH7.1
  • MongoDB logoMongoDB
  • mongodb
아니요네Oct 13, 2026
CVE-2026-104005HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
아니요네Oct 13, 2026
CVE-2026-104004HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
아니요네Oct 13, 2026
CVE-2026-96297MEDIUM6
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
아니요네Oct 13, 2026
CVE-2026-103965MEDIUM5.3
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
아니요네Oct 13, 2026

무료 취약점 평가

클라우드 보안 포세를 벤치마킹하세요

9개 보안 영역에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 파악하세요.

요청 평가

추가 Wiz 리소스

맞춤형 데모를 받아보세요

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭CISO
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자