CVE-2026-13078
published medium CVSS 4.0 · 6.3Local File Disclosure in MongoDB Server via MozJS Scripting Engine Module Loader
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | MongoDB Server7.0 to < 7.0.39 · 8.0 to < 8.0.28 · 8.2.0 to < 8.2.12 · 8.3.0 to < 8.3.7 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.7 | high | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | MongoDB Server | 7.0 to < 7.0.39 (affected · semver)8.0 to < 8.0.28 (affected · semver)8.2.0 to < 8.2.12 (affected · semver)8.3.0 to < 8.3.7 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-862 CWE-862: Missing Authorization
References
1Provider assertions
2mongodb · cna
Local File Disclosure in MongoDB Server via MozJS Scripting Engine Module Loader
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a14c6226e122491ff4f5b1d35998cb778f3cf60e55e2147d39db86251869ef53
- Ingested
- 23 Sep 2026, 09:01:12 UTC
- Source record
- Official CVE record