Auth bypass in MongoDB

CVE-2026-13078

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.

Vulnerability class: Broken Access Control

EPSS: 0.003 (26.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-13078?
CVE-2026-13078 is a high-severity vulnerability in MongoDB, classified under Missing Authorization. CVSS score: 7.7/10. Published 2026-07-22.
How severe is CVE-2026-13078?
High severity. CVSS v3 base score is 7.7 out of 10.