Skip to main content

MongoDB Server CVE-2026-13067

| EUVDEUVD-2026-47794 HIGH
Incorrect Authorization (CWE-863)
2026-07-22 cna@mongodb.com
7.2
CVSS 4.0 · Vendor: mongodb
Share

Severity by source

Vendor (mongodb) PRIMARY
7.2 HIGH
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
6.3 MEDIUM

Local socket access (AV:L) and a trusted-CA certificate plus non-default PROXY-v2 config make it high-complexity (AC:H) with low prior privileges (PR:L); high C/I from role escalation, no availability impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jul 22, 2026 - 21:03 EUVD
Analysis Generated
Jul 22, 2026 - 20:34 vuln.today
CVE Published
Jul 22, 2026 - 20:16 cve.org
HIGH 7.2

DescriptionCVE.org

When PROXY protocol v2 is used on the Unix domain socket path, roles derived from X.509 client certificates may not be validated against the configured tlsCATrusts allow-list. This can result in unintended role assignments following MONGODB-X509 authentication. Affected scenarios require local access to the proxy Unix domain socket and a valid X.509 certificate issued by a trusted certificate authority.

AnalysisAI

Improper authorization in MongoDB Server allows a local attacker holding a valid trusted-CA X.509 certificate to obtain unintended database roles when PROXY protocol v2 is used over the Unix domain socket, because certificate-derived roles bypass the configured tlsCATrusts allow-list during MONGODB-X509 authentication. An attacker with local access to the proxy socket can therefore escalate to roles they were never granted, compromising confidentiality and integrity of data. Tracked via MongoDB SERVER-128387 and rated CVSS 4.0 7.2 (High); no public exploit identified at time of analysis and it is not listed in CISA KEV.

Technical ContextAI

The flaw lives in MongoDB's handling of the PROXY protocol v2 header when clients connect over a Unix domain socket, a deployment pattern used to preserve original client identity behind load balancers or sidecar proxies. During MONGODB-X509 authentication, MongoDB maps the certificate's subject/extensions to internal roles, and the tlsCATrusts setting is meant to constrain which issuing CAs and role assertions are honored. This is a CWE-863 (Improper Authorization) defect: the authorization decision that should validate certificate-derived roles against the tlsCATrusts allow-list is skipped in the PROXY-v2-over-UDS code path, so role claims embedded in or derived from a trusted-CA-issued certificate are accepted without the intended policy check. The result is an authorization gap rather than an authentication bypass in the strict sense - the certificate is still validated as trusted, but the roles it confers are not properly scoped.

RemediationAI

No vendor-released patch version is identified in the available data, so the fixed release must be confirmed directly from MongoDB via SERVER-128387 (https://jira.mongodb.org/browse/SERVER-128387) and applied once published. As compensating controls until patched: disable PROXY protocol v2 on the Unix domain socket path if it is not strictly required, since this specific code path is what skips the tlsCATrusts validation; restrict filesystem access to the proxy Unix domain socket (tighten socket file permissions and the containing directory) so that only trusted local principals can connect, which directly raises the bar set by the AV:L/local-access requirement; and audit issued client certificates and the tlsCATrusts allow-list, revoking or tightly scoping any trusted-CA certificates that could assert privileged roles. Trade-offs: disabling PROXY protocol v2 will break preservation of original client source identity behind a load balancer, and tightening socket permissions may disrupt legitimate co-located proxy/sidecar processes, so validate connectivity for authorized clients after changes.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

CVE-2021-20333 MEDIUM POC
5.3 Jul 23

Sending specially crafted commands to a MongoDB Server may result in artificial log entries being generated or for log e

CVE-2026-13072 CRITICAL
9.2 Jul 22

Memory corruption in MongoDB standalone mongod servers running with compute mode enabled allows remote attackers to cras

CVE-2017-15535 CRITICAL
9.1 Nov 01

MongoDB 3.4.x before 3.4.10, and 3.5.x-development, has a disabled-by-default configuration setting, networkMessageCompr

CVE-2020-2268 HIGH
8.8 Sep 16

A cross-site request forgery (CSRF) vulnerability in Jenkins MongoDB Plugin 1.3 and earlier allows attackers to gain acc

Share

CVE-2026-13067 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy