Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-119179 — Deterministic local PoC for CVE-2026-119179: MongoDB Node.js driver connection pool desync after a CSOT timeout, leaking another user's documents. Compares vulnerable vs fixed drivers. | Kitploit
Tools/GitHubGitHub/llcforge/cve-2026-119179
Defensive ToolsVulnerability AnalysisExploitationInformation GatheringWeb SecurityDatabase Security
GitHubllcforge/cve-2026-119179

CVE-2026-119179

Deterministic local PoC for CVE-2026-119179: MongoDB Node.js driver connection pool desync after a CSOT timeout, leaking another user's documents. Compares vulnerable vs fixed drivers.

View Repository
2 days agoNot yet reviewed
Share

CVE-2026-119179

MongoDB Node.js Driver — CSOT Connection Pool Desynchronization

CVSS CVSS_31 CWE Language Fixed Disclosed


Overview

When a client-side operation timeout (CSOT) expires during a MongoDB query, the Node.js driver may return the network connection to the pool while the server's reply is still outstanding on the socket. The next operation that checks out that connection reads the stale reply from a previous request — causing one user to receive another user's data.

FieldValue
CVECVE-2026-119179
CVSS 4.08.3 High — AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:L
CVSS 3.17.0 High — AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
CWECWE-226 / CWE-488 (Sensitive Information Not Removed from Resource)
Affectedmongodb >= 6.11.0 < 6.22.0 and >= 7.0.0 < 7.8.0
Fixed6.22.0 and 7.8.0
JiraNODE-7929, NODE-7958
Auth RequiredNone
Disclosed2026-11-18

Vulnerability Details

CSOT applies a single deadline to the whole operation including connection checkout and server execution. When the deadline fires while the server is mid-reply, the vulnerable driver ends the operation but does not tear down the socket. The connection is returned to the pool with unread bytes still present.

The MongoDB wire protocol has no per-request IDs — the driver trusts that a reply read from a socket belongs to the request it just wrote there. With a pool size of 1, the effect is deterministic: request B reads request A's reply.


Attack Flow

flowchart LR
    A([Request A\nalice's find]) -->|timeoutMS: 150ms\nServer sleeps 700ms| B[MongoDB Server]
    B -->|Still processing| C[CSOT fires\nDriver returns connection\nSocket has unread data]
    D([Request B\nbob's find]) -->|Checks out SAME connection| C
    C -->|Reads alice's\nreply from socket| E([Cross-Request\nData Disclosure])

    style A fill:#3d1a1a,stroke:#f85149,color:#f85149
    style D fill:#1a2d1a,stroke:#58a6ff,color:#58a6ff
    style E fill:#1a1f2e,stroke:#f85149,color:#f85149

PoC Usage

Warning: Lab environment with throwaway MongoDB server only.

Setup

# Start a local MongoDB server
docker compose up -d

# Install vulnerable driver
npm install [email protected]

Run against vulnerable driver

node poc.js

Expected output — vulnerable driver (7.0.0):

[+] attempt 1: LEAK - request B for user bob received 2 document(s) of user alice (secret-1, secret-2)
      {"_id":"secret-1","owner":"alice","iban":"TR33 0006 1005 1978 6457 8413 26"}
      {"_id":"secret-2","owner":"alice","note":"internal acquisition memo"}

[!] VULNERABLE - cross-request data disclosure in 1/5 attempts
    (fix: upgrade to mongodb 6.22.0+ / 7.8.0+)

Run against fixed driver

npm install [email protected]
node poc.js

Expected output — fixed driver (7.8.0):

[-] attempt 1: no leak (B got 2 doc(s), A ended with MongoOperationTimeoutError)
[+] NOT VULNERABLE - the connection was discarded on timeout

Remote / Docker-hosted server

MONGO_URI='mongodb://10.0.0.12:27017' ATTEMPTS=10 node poc.js

Tunables (environment variables)

VariableDefaultDescription
TIMEOUT_MS150Client-side operation timeout in ms
SERVER_SLEEP700Server-side delay injected via $where in ms
GAP_MS80Wait between request A and B in ms
ATTEMPTS5Number of leak attempts before giving up
MONGO_URI—MongoDB connection string

Exit codes: 0 = leak observed, 1 = no leak, 2 = setup failure


Detection

IndicatorNotes
Results with wrong owner fieldApplication-level: response does not match the query filter
MongoOperationTimeoutError spikesHigh CSOT timeout rates indicate timing-sensitive workload
Connection pool exhaustion followed by unusual dataMonitor pool checkout/return events

Impact

Any application that enables CSOT and serves multiple users from one connection pool — which covers almost every web app using this driver with timeouts enabled. The attacker needs only to send ordinary requests and wait for a timeout to line up; no authentication or elevated privileges required.


Remediation

Upgrade mongodb to 6.22.0+ or 7.8.0+.

ActionDetail
Upgrade drivernpm install [email protected] or npm install [email protected]
Disable CSOT temporarilyRemove timeoutMS on sensitive read paths until patched
Monitor request shapesAlert on results that do not match the expected query filter

References

  • NODE-7929: https://jira.mongodb.org/browse/NODE-7929
  • NODE-7958: https://jira.mongodb.org/browse/NODE-7958
  • CVE Record: https://www.cve.org/CVERecord?id=CVE-2026-119179
  • Driver Releases: https://github.com/mongodb/node-mongodb-native/releases

Disclaimer: For authorized security research and controlled lab use only. MIT License.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    601
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    403
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    319
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    265
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    AI powered OSINT engine to discover and map 7,700+ social media identities across the web

    263

Explore all tools

Browse our collection of tools

View all tools →