Skip to main content

Mattermost Plugins EUVDEUVD-2026-39778

| CVE-2026-9699 MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2026-06-26 responsibledisclosure@mattermost.com GHSA-gr4w-63r3-8h38
6.8
CVSS 3.1 · Vendor: mattermost
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Mattermost admin or log-read access
  2. Delivery
    Wait for or trigger OpenAI API authentication failure
  3. Exploit
    Download support packet or read mattermost.log
  4. Execution
    Extract unsanitized OpenAI API key from log entry
  5. Impact
    Authenticate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Mattermost 0 ≤10.18.11
Mattermost 0 ≤11.6.5
Mattermost 0 ≤11.3.6

Affected Packages

euvd mattermost no fix

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

Vendor (mattermost) PRIMARY 6.8 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 6.8 MEDIUM

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.

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

Primary rating from Vendor (mattermost).

CVSS VectorVendor: mattermost

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

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

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
popular enterprise team-messaging platform, but only deployments with OpenAI plugin affected
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-25279 CRITICAL
9.9 Feb 24

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 boa

CVE-2026-48801 HIGH POC
8.7 Jun 26

Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s

CVE-2022-4044 MEDIUM POC
6.5 Nov 23

A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto

CVE-2022-3257 MEDIUM POC
6.5 Sep 23

Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w

CVE-2025-4981 CRITICAL
9.9 Jun 20

A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s

CVE-2025-20051 CRITICAL
9.9 Feb 24

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

CVE-2025-12421 CRITICAL
9.9 Nov 27

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

CVE-2025-12419 CRITICAL
9.9 Nov 27

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

CVE-2026-4858 CRITICAL
9.9 May 21

Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the

CVE-2023-6458 CRITICAL
9.8 Dec 06

Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf

CVE-2020-26276 CRITICAL
9.8 Dec 17

Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2025-24490 CRITICAL
9.6 Feb 24

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

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