CVE-2026-13077
Last modified
CVE-2026-13077 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Mongodb | >= 7.0.0, < 7.0.39 |
| Mongodb | Mongodb | >= 8.0.0, < 8.0.28 |
| Mongodb | Mongodb | >= 8.2.0, < 8.2.12 |
| Mongodb | Mongodb | >= 8.3.0, < 8.3.7 |
References
- https://jira.mongodb.org/browse/SERVER-129103Vendor Advisory, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-13077?
How severe is CVE-2026-13077?
How do I fix CVE-2026-13077?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-13071An authenticated user with read access can cause the mongod …6.5
- CVE-2026-13072When compute mode is enabled on a standalone mongod instance…8.1
- CVE-2026-13073An authenticated user with read-only privileges can cause th…4.3
- CVE-2026-13074An unauthenticated remote client can cause excessive CPU con…5.3
- CVE-2026-13075An authenticated user can cause the mongod process to be ter…6.5
- CVE-2026-13076An authenticated user can cause a {{mongod}} process to be t…6.5
- CVE-2026-13078A vulnerability was discovered in MongoDB Server where the s…7.7
- CVE-2026-13079A local privilege escalation vulnerability in the WatchGuard…7.8
- CVE-2026-13080The WPFunnels – Funnel Builder for WooCommerce with Checkout…6.6
- CVE-2026-13081Rejected reason: Red Hat is not the CNA for PHP. CVE was res…
- CVE-2026-13082GD::SecurityImage versions through 1.75 for Perl use rand to…5.3
- CVE-2026-13083A flaw was found in the Pen Drive report generator. Cluster-…6.9
Are you affected by CVE-2026-13077?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
