Skip to main content

Mattermost Agents CVE-2026-4339

| EUVDEUVD-2026-39779 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-06-26 responsibledisclosure@mattermost.com GHSA-p3qg-h7r3-79xr
6.5
CVSS 3.1 · Vendor: mattermost
View

Attack ChainAIDerived

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

  1. Access
    Gain local access to MCP stdio interface
  2. Delivery
    Craft post creation request with RFC 1918 URL as attachment
  3. Exploit
    MCP server issues unvalidated outbound HTTP fetch
  4. Execution
    Internal service responds with sensitive data
  5. Impact
    Attacker receives exfiltrated response payload

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three specific conditions to be simultaneously true: (1) the Mattermost Agents plugin must be installed and active; (2) the MCP server within that plugin must be running in stdio mode specifically - other MCP transport modes are not indicated as vulnerable; and (3) the attacker must have low-privilege local access to the process interface of that MCP server (CVSS PR:L, AV:L). The CVSS local attack vector confirms this is not a remotely reachable endpoint over the network in a default Mattermost deployment. What limits exploitation: attackers without pre-existing local host access or MCP stdio interface access cannot exploit this remotely; integrity and availability are unaffected (I:N, A:N); and environments that do not deploy the Agents plugin at all have no exposure.

Impact

The NVD CVSS 3.1 score of 6.5 with vector AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N correctly reflects a local-vector attack with scope change and high confidentiality impact. The S:C and C:H metrics are the headline risk: a successful exploit reaches internal network services beyond the Mattermost host itself, potentially exposing cloud metadata endpoints, internal APIs, or databases. However, AV:L fundamentally limits the threat surface - the attacker must already have local access to the process running the MCP server in stdio mode, which in practice means a compromised host or a malicious or colluding user/process co-located with the Mattermost agent runtime. No EPSS score was provided in the input data, so exploitation probability cannot be quantified. There is no CISA KEV listing and no confirmed POC. The SSRF vector and S:C scope change elevate theoretical damage potential, but the local prerequisite significantly reduces the realistic attacker population compared to a network-vector SSRF. Priority should be moderate: patch promptly in environments where the Agents plugin is deployed, but this does not represent an emergency for organizations not using the plugin or MCP stdio mode.

Exploit ScenarioDerived

An attacker with local access to the host running the Mattermost Agents plugin in MCP stdio mode crafts a post creation request that includes an internal URL - such as http://169.254.169.254/latest/meta-data/ (cloud instance metadata) or http://192.168.1.10:8080/api/internal - as a file attachment reference. The Agents plugin MCP server issues an outbound HTTP fetch to the supplied URL without checking it against blocked address ranges, and the response body (containing cloud credentials or internal API responses) is returned or logged in a manner accessible to the attacker. No interaction from other users or administrators is required beyond the attacker's existing local access.

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

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

Alert me

AnalysisAIv1 – Jun 26, 2026

Server-side request forgery in the Mattermost Agents plugin MCP server (stdio mode) allows a low-privileged local attacker to make the server fetch arbitrary internal URLs submitted as file attachment references in post creation requests, enabling exfiltration of data from RFC 1918-addressed services on the internal network. Affected are Mattermost deployments running versions 10.11.x ≤ 10.11.18, 11.5.x ≤ 11.5.6, and 11.6.x ≤ 11.6.3 with the Agents plugin's MCP server active in stdio mode. No public exploit code or CISA KEV listing is present in the available data; exploitation is constrained to attackers who already have local access to the stdio MCP interface.

RemediationAI

The primary remediation is to upgrade Mattermost to the first fixed release in each affected branch, as specified in Mattermost advisory MMSA-2026-00635 at https://mattermost.com/security-updates - exact fix version numbers were not provided in the available data and should be confirmed there before deploying. As an immediate compensating control, disable the Mattermost Agents plugin's MCP server or switch it out of stdio mode if that operational mode is not required; disabling the feature entirely eliminates the attack surface with no impact to core Mattermost functionality. Additionally, enforce network-level egress filtering on the host running Mattermost to block outbound HTTP/S connections to RFC 1918 address ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and loopback (127.0.0.0/8); this mitigates SSRF data exfiltration even if the plugin remains active but may break legitimate internal integrations that rely on Mattermost reaching private services. Audit existing MCP server access controls to ensure only trusted processes and identities can interact with the stdio interface.

Affected VersionsENISA

Mattermost 11.6.0 ≤11.6.3
Mattermost 11.5.0 ≤11.5.6
Mattermost 10.11.0 ≤10.11.18

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

CWE-918 (Server-Side Request Forgery) describes the root cause: the Mattermost Agents plugin's Model Context Protocol (MCP) server, when operating in stdio mode, performs no validation of URLs supplied as file attachment targets against private or loopback address blocks (RFC 1918: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16; loopback: 127.0.0.0/8). MCP is a structured protocol allowing AI agents to interact with application services; in stdio mode the server communicates via standard input/output, meaning interaction is inherently local. By supplying an internal URL as a file attachment in a post creation request routed through the MCP server, an attacker causes the server-side HTTP fetch to be issued against internal infrastructure. The affected CPE covers Mattermost platform versions in the 10.11, 11.5, and 11.6 release lines. The missing validation is an egress control gap: there is no allowlist or denylist of resolvable host ranges checked before the outbound request is made.

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.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Local vector because MCP stdio mode is process-local; PR:L as attacker needs interface access; S:C and C:H reflect SSRF reaching internal network services beyond the vulnerable host.

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

Primary rating from Vendor (mattermost).

CVSS VectorVendor: mattermost

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

DescriptionCVE.org

Mattermost versions 10.11.x <= 10.11.18, 11.6.x <= 11.6.3, 11.5.x <= 11.5.6 fail to validate attachment URLs against internal or private IP ranges in the Mattermost Agents plugin MCP server which allows an attacker with access to the MCP server in stdio mode to perform server-side request forgery (SSRF) and exfiltrate data from internal network services via supplying internal URLs as file attachments in post creation requests.. Mattermost Advisory ID: MMSA-2026-00635

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
popular open-source enterprise messaging platform, Agents plugin more niche
Data Quality
5 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.1%
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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