Local File Disclosure in MongoDB Server via MozJS Scripting Engine Module Loader
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 7.0.39, Server 8.0.28, Server 8.2.12 and 1 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| MongoDB | Server | >=7.0 <7.0.39, >=8.0 <8.0.28, >=8.2.0 <8.2.12, >=8.3.0 <8.3.7 | 7.0.39, 8.0.28, 8.2.12, 8.3.7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in MongoDB, strongest first
Embed
A live severity badge for an advisory, README or ticket