CVE-2026-13067: CWE-863: Incorrect Authorization in MongoDB MongoDB Server
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.
AI Analysis
Technical Summary
This vulnerability (CWE-863) occurs in MongoDB Server when PROXY protocol v2 is used on Unix domain socket paths. The issue causes roles derived from X.509 client certificates to not be properly validated against the configured tlsCATrusts allow-list. As a result, users authenticated via MONGODB-X509 may receive unintended roles. The attack vector requires local access to the proxy Unix domain socket and possession of a valid X.509 certificate issued by a trusted certificate authority. The CVSS 4.0 score is 7.2, reflecting a high severity with local attack vector, low attack complexity, and partial privileges required.
Potential Impact
An attacker with local access to the proxy Unix domain socket and a valid X.509 certificate trusted by the server can gain unintended role assignments, potentially escalating privileges or accessing unauthorized resources within MongoDB. This incorrect authorization undermines the intended access controls configured via tlsCATrusts allow-list, increasing the risk of privilege escalation or unauthorized data access.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict local access to the proxy Unix domain socket to trusted users only and carefully control issuance and distribution of X.509 certificates trusted by MongoDB. Monitor MongoDB server configurations and logs for unusual role assignments related to MONGODB-X509 authentication.
CVE-2026-13067: CWE-863: Incorrect Authorization in MongoDB MongoDB Server
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.
CVSS v4.0
Score 7.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-863) occurs in MongoDB Server when PROXY protocol v2 is used on Unix domain socket paths. The issue causes roles derived from X.509 client certificates to not be properly validated against the configured tlsCATrusts allow-list. As a result, users authenticated via MONGODB-X509 may receive unintended roles. The attack vector requires local access to the proxy Unix domain socket and possession of a valid X.509 certificate issued by a trusted certificate authority. The CVSS 4.0 score is 7.2, reflecting a high severity with local attack vector, low attack complexity, and partial privileges required.
Potential Impact
An attacker with local access to the proxy Unix domain socket and a valid X.509 certificate trusted by the server can gain unintended role assignments, potentially escalating privileges or accessing unauthorized resources within MongoDB. This incorrect authorization undermines the intended access controls configured via tlsCATrusts allow-list, increasing the risk of privilege escalation or unauthorized data access.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict local access to the proxy Unix domain socket to trusted users only and carefully control issuance and distribution of X.509 certificates trusted by MongoDB. Monitor MongoDB server configurations and logs for unusual role assignments related to MONGODB-X509 authentication.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-06-23T18:00:10.530Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6123209c2644c7f89b2cb9
Added to database: 07/22/2026, 20:08:00 UTC
Last enriched: 07/22/2026, 20:23:45 UTC
Last updated: 07/22/2026, 23:33:37 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.