Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 80%

CVE-2026-13077: CWE-125: Out-of-bounds Read in MongoDB MongoDB Server

0
High
Published: 08/19/2026 (08/19/2026, 08:49:30 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: MongoDB Server

Description

A missing bounds check in the BSON CodeWScope element accessors allows an attacker to trigger an out-of-bounds heap read via a crafted aggregation pipeline. The vulnerability can be exploited by an authenticated user by generating a malformed BSONColumn data containing a CodeWScope element, bypassing wire-level BSON validation. When the forged element is decompressed, the unchecked size value is used in pointer arithmetic, causing either a server crash or disclosure of adjacent heap memory contents.

CVSS v4.0

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
mongodb/mongo
pkg:github/mongodb/mongo
Affected versions
=7.0=8.0=8.2.0=8.3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 05:13:29 UTC

Technical Analysis

This vulnerability arises from a missing bounds check in the BSON CodeWScope element accessors within MongoDB Server. An attacker with authentication privileges can create a specially crafted aggregation pipeline containing malformed BSONColumn data with a CodeWScope element. Because wire-level BSON validation is bypassed, the unchecked size value is used in pointer arithmetic during decompression, triggering an out-of-bounds heap read. The impact includes possible server crashes or leakage of adjacent heap memory data. The CVSS 4.0 score is 7.1 (high severity), reflecting network attack vector, low attack complexity, no user interaction, and high impact on availability. No official patch or remediation level has been published yet, and no known exploits are reported in the wild.

Potential Impact

Successful exploitation allows an authenticated user to cause a server crash or disclose adjacent heap memory contents due to an out-of-bounds read. This can lead to denial of service or potential information leakage from the MongoDB Server process memory.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict authenticated user privileges to trusted users only and monitor for unusual aggregation pipeline usage. Avoid processing untrusted BSONColumn data containing CodeWScope elements.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mongodb
Date Reserved
2026-06-23T18:00:22.313Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6123219c2644c7f89b2d30

Added to database: 07/22/2026, 20:08:01 UTC

Last enriched: 07/30/2026, 05:13:29 UTC

Last updated: 09/04/2026, 22:52:09 UTC

Views: 90

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses