Mattermost doesn't validate user-supplied input in API request handlers

Description

Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to validate user-supplied input in API request handlers which allows an authenticated attacker to crash the plugin process via a crafted HTTP request to the PR details endpoint. Mattermost Advisory ID: MMSA-2026-00638

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2026-05-26 13:30:15 UTC
Updated
2026-06-29 19:21:38 UTC
GitHub reviewed
2026-06-29 19:21:37 UTC
NVD published
2026-05-22

EPSS Score

Score Percentile
0.25% 16.03%

CVSS Scores

Base score Version Severity Vector
4.3 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.

Identifiers

CWEs

CWE id Name
CWE-1287 Improper Validation of Specified Type of Input

Affected packages (5)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
go github.com/mattermost/mattermost-server = 11.6.0 11.6.1
go github.com/mattermost/mattermost-server >= 11.5.0, < 11.5.4 11.5.4
go github.com/mattermost/mattermost-server >= 11.4.0, < 11.4.5 11.4.5
go github.com/mattermost/mattermost-server >= 10.11.0, < 10.11.15 10.11.15
go github.com/mattermost/mattermost-plugin-github < 1.0.1-0.20260330164815-c2840e980b3c 1.0.1-0.20260330164815-c2840e980b3c

References

cvelogic Threat Intelligence