Description
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.
Published: 2026-07-22
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An attacker can exploit a flaw in MongoDB Server's handling of PROXY Protocol v2 over a Unix domain socket to bypass role validation based on the configured tlsCATrusts allow‑list. The error originates from CWE‑863, and allows roles derived from a valid X.509 client certificate to be assigned without verifying they appear on the allow‑list. This results in unintended role assignments following MONGODB‑X509 authentication, effectively enabling a client to gain privileges it is not authorized to use.

Affected Systems

Any MongoDB Server that enables PROXY Protocol v2 on a Unix domain socket. The vulnerability requires an attacker to have local access to the Unix domain socket and a valid X.509 certificate issued by a trusted certificate authority. Specific version ranges are not listed; all releases that support this configuration may be affected.

Risk and Exploitability

The CVSS score of 7.2 indicates high severity. The EPSS score indicates a very low probability of exploitation, and the vulnerability is not listed in CISA KEV. The attack requires local access to the Unix domain socket and a valid X.509 client certificate, so only users or processes with such privileges can exploit it. If an attacker gains local access or a privileged account, they can use this flaw to elevate privileges within the database. The potential impact remains significant because it undermines authentication and authorization controls.

Generated by OpenCVE AI on August 3, 2026 at 23:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest MongoDB Server patch that addresses the PROXY Protocol v2 role validation issue.
  • Disable PROXY Protocol v2 on Unix domain sockets when it is not required for your deployment.
  • Restrict file system permissions on the Unix domain socket to the minimum set of users that must access the database.

Generated by OpenCVE AI on August 3, 2026 at 23:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 24 Jul 2026 05:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 23 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server

Wed, 22 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
Description 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.
Title tlsCATrusts Role Restriction Not Enforced via PROXY Protocol v2 on Unix Domain Socket
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 7.2, 'vector': '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'}


Subscriptions

Mongodb Mongodb Mongodb Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-07-24T03:56:10.776Z

Reserved: 2026-06-23T18:00:10.530Z

Link: CVE-2026-13067

cve-icon Vulnrichment

Updated: 2026-07-23T14:22:47.103Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T20:16:44.967

Modified: 2026-08-05T14:41:50.063

Link: CVE-2026-13067

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:30:17Z

Weaknesses