CVE-2026-13078
NVD
Vulnerability Summary
A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally registered a module loading hook that enables JavaScript calls to read arbitrary files from the host filesystem using the mongod process's privileges. An authenticated user could exploit this through crafted aggregation pipeline commands to read sensitive files accessible to the MongoDB server process.
CVSS v4.0 Base Metrics — Score 6.3 (MEDIUM)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)High
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.7)
CVSS v3.1 Base Metrics — Score 7.7 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- MongoDB Server >= 7.0 and < 7.0.39
- MongoDB Server >= 8.0 and < 8.0.28
- MongoDB Server >= 8.2.0 and < 8.2.12
- MongoDB Server >= 8.3.0 and < 8.3.7
- MongoDB Server 7.0.39
- MongoDB Server 8.0.28
- MongoDB Server 8.2.12
- MongoDB Server 8.3.7
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run MongoDB Server and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Jul 22, 2026Published
- Jul 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new MongoDB Server CVEsYou are reading CVE-2026-13078. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Issue Trackinghttps://jira.mongodb.org/browse/SERVER-128832
Data last checked: Dec 2, 2026 20:18 UTC