CVE-2025-13507: MongoDB Server · Improper Validation of Specified Quantity in Input
Affects MongoDB ServerSource CVE Database V5
Not known to be exploited · CVSS 7.1 High · fixed in 8.2.1 : patch MongoDB Server soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.2.1, 8.0.16, 7.0.26
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade MongoDB Server to 8.2.1, 8.0.16 or 7.0.26.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MongoDB Inc. MongoDB Server | Affected
| Fixed in
|
AI-suggested
1. 2. If you cannot patch yet, implement network-level controls to restrict access to MongoDB servers, limiting exposure to trusted IP addresses and internal networks only. 3. Monitor MongoDB server logs and system monitoring tools for unexpected process terminations or assertion failures indicative of exploitation attempts. 4. Employ rate limiting and anomaly detection on incoming database requests to detect and block attempts to send oversized BSON documents. 5. Review and harden time series data ingestion pipelines to validate input sizes before forwarding to MongoDB. 6. Maintain up-to-date backups and disaster recovery plans to minimize downtime impact in case of service disruption. 7. Educate DevOps and security teams about this specific vulnerability to ensure rapid response and patch management. 8. Consider deploying MongoDB in high-availability clusters or with failover mechanisms to reduce single points of failure.
Description
Inconsistent object size validation in time series processing logic may result in later processing of oversized BSON documents leading to an assert failing and process termination. This issue impacts MongoDB Server v7.0 versions prior to 7.0.26, v8.0 versions prior to 8.0.16 and MongoDB server v8.2 versions prior to 8.2.1.