Original description
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.
Affected software
- MongoDB ≥ 8.2.0 < 8.2.12≥ 8.3.0 < 8.3.7≥ 8.0.0 < 8.0.28≥ 7.0.0 < 7.0.39 Fixed in: 8.2.12, 8.3.7, 8.0.28, 7.0.39 exact match
Details
- Published
- 2026-07-23
- Last modified
- 2026-07-23
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N- CWE
- CWE-862
- EPSS (30-day exploit probability)
- 0.38% (percentile 32)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.