CVE-2026-13067

tlsCATrusts Role Restriction Not Enforced via PROXY Protocol v2 on Unix Domain Socket

Published Jul 22, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Jul 24, 2026, 3:56 AM
Reserved
Jun 23, 2026, 6:00 PM
Status
Analyzed
Published
Jul 22, 2026, 8:16 PM
Modified
Oct 24, 2026, 1:10 PM