Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Mattermost admin or log-read access
-
DeliveryWait for or trigger OpenAI API authentication failure
-
ExploitDownload support packet or read mattermost.log
-
ExecutionExtract unsanitized OpenAI API key from log entry
-
ImpactAuthenticate to OpenAI API as victim organization
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
|
| Exploitation Conditions | Exploitation requires two concurrent conditions: (1) the attacker must hold high-privileged access to Mattermost - specifically the ability to read mattermost.log directly on the server or to download a support packet via the System Console (a Mattermost System Admin role); and (2) at least one OpenAI API authentication failure event must have been generated and logged while a vulnerable plugin version was active. The logging trigger is passive - it occurs naturally if a misconfigured, expired, or revoked key is present, or if an admin changed the key and the prior value was briefly invalid. Exploitation is bounded by the PR:H requirement: unauthenticated or low-privileged Mattermost users cannot access server logs or support packets and are therefore not impacted. The vulnerability does not affect Mattermost deployments that have not installed or configured the OpenAI plugin. |
| Impact | The CVSS base score of 6.8 with vector AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N correctly captures the core dynamic: exploitation is trivially simple once an attacker has high-privileged log access, but that privilege requirement (PR:H) is itself a meaningful barrier. In practice, the realistic threat actors are malicious insiders (system administrators, operators), compromised admin accounts, or pentesters/auditors reviewing support bundles. There is no KEV listing and no publicly known POC, indicating no confirmed opportunistic exploitation. EPSS data was not provided, but given the PR:H prerequisite and the specialized trigger condition (an OpenAI API authentication failure must have occurred and been logged), real-world exploitation probability is low against hardened environments. However, the confidentiality impact is genuine and cross-system: an extracted API key grants the attacker full programmatic access to the victim's OpenAI account, potentially incurring financial charges, data exfiltration from OpenAI projects, or model abuse. The risk is elevated for organizations that store sensitive data or fine-tuned models in their OpenAI account. No conflict exists between CVSS signals and the description. |
| Exploit ScenarioDerived | A malicious Mattermost system administrator - or an attacker who has compromised an admin account - downloads a support packet from the Mattermost System Console after a period during which the OpenAI plugin experienced API authentication failures (for example, after an accidental key misconfiguration). Reviewing mattermost.log within the support bundle, the attacker locates log entries containing the unsanitized OpenAI error payload and extracts the API key or a reconstructable fragment. The attacker then uses the recovered key to authenticate directly to the OpenAI API, gaining access to the victim organization's account. No POC exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 26, 2026
Credential exposure in Mattermost Plugins (all branches ≤11.6, fixed in 10.18.11, 11.3.6, and 11.6.5.0) leaks valid or partially reconstructable OpenAI API keys into mattermost.log when the OpenAI API returns authentication failure responses. Any user with privileged read access to server logs or downloadable support packets can recover the key and authenticate to the victim organization's OpenAI account. No public exploit code or CISA KEV listing exists at time of analysis, but the CVSS Scope:Changed rating reflects that successful exploitation grants unauthorized access to an external, out-of-scope resource - the OpenAI account - with full confidentiality impact.
RemediationAI
The primary remediation is to upgrade to a fixed release of Mattermost Plugins: version 10.18.11 on the 10.x branch, 11.3.6 on the 11.3.x branch, or 11.6.5.0 on the 11.6.x branch, as documented at https://mattermost.com/security-updates. After upgrading, administrators should immediately rotate the OpenAI API key configured in the plugin, since any key logged prior to patching must be considered compromised - key rotation carries no service disruption beyond a brief plugin reconfiguration window. As a compensating control where immediate upgrade is not possible, restrict read access to mattermost.log and the support packet download feature to only the minimum set of trusted administrators; this does not prevent the key from being written to logs but reduces the exposure window. Additionally, configure OpenAI API key scoping to the minimum required permissions and enable usage alerts on the OpenAI account to detect unauthorized consumption. No adverse side effects from the patch itself have been identified in the advisory.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is classified as CWE-532 (Insertion of Sensitive Information into Log File), a well-understood class of credential-leakage defect. Mattermost Plugins bridge the Mattermost team-messaging platform with the OpenAI API, passing authentication credentials as part of API request headers. When OpenAI returns an error response - for example due to an invalid, expired, or rate-limited key - the plugin forwards the raw error body to the Mattermost structured logger without redacting credential material. Because OpenAI error payloads may echo back key fragments or include the submitted Authorization header in diagnostic fields, these values are written verbatim to mattermost.log. The Scope:Changed (S:C) metric in the CVSS vector is appropriate: the confidentiality impact falls outside the Mattermost authorization boundary on an external third-party service. CPE data was not explicitly supplied, but the affected scope is Mattermost's plugin ecosystem across the 10.x, 11.3.x, and 11.6.x release trains.
Know when Mattermost gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
PR:H because log and support-packet access requires System Admin role; S:C and C:H because the leaked credential grants access to an external OpenAI account; I:N and A:N because Mattermost itself suffers no write or availability impact.
Primary rating from Vendor (mattermost).
CVSS VectorVendor: mattermost
DescriptionCVE.org
Mattermost Plugins versions <=11.6 10.18.11 11.3.6 11.6.5.0 fail to sanitize error responses from the OpenAI API before logging, which allows a user with access to server logs or support packets to obtain a valid or partially reconstructable OpenAI API key via inspection of mattermost.log entries generated during authentication failures. Mattermost Advisory ID: MMSA-2026-00609
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Mattermost
View allMattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate boa
Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s
A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto
Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w
A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s
Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate inp
Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to to verify that t
Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validat
Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the
Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf
Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to use prepared statemen
EUVD-2026-39778
GHSA-gr4w-63r3-8h38
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB