CVE-2026-13078

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.

Affected Software

VendorProductVersion RangeStatus
MongoDBMongoDB Server7.0 < 7.0.39affected
MongoDBMongoDB Server8.0 < 8.0.28affected
MongoDBMongoDB Server8.2.0 < 8.2.12affected
MongoDBMongoDB Server8.3.0 < 8.3.7affected

Weaknesses

  • CWE-862: CWE-862: Missing Authorization

References