Path traversal in Mattermost Agents plugin mention reminder allows plugin replacement via crafted post
Impact
Mattermost versions 11.9.x <= 11.9.1, 11.8.x <= 11.8.5, 11.7.x <= 11.7.10 fail to validate the target post ID in the Agents plugin's mention reminder component, which allows an authenticated user who can post in a channel visible to a system administrator to cause the administrator's browser to send an unintended API request, resulting in replacement of an installed plugin and code execution on the server, via a crafted post containing a forged mention reminder that the administrator clicks. Mattermost Advisory ID: MMSA-2026-00742
Source excerpt · MattermostWhat to do
Update Mattermost to versions 11.10.0, 11.9.2, 11.8.6, 11.7.11 or higher.
Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Mattermost · Mattermost
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 11.9.0 through 11.9.1 (inclusive) | affected |
| 11.8.0 through 11.8.5 (inclusive) | affected |
| 11.7.0 through 11.7.10 (inclusive) | affected |
| 11.10.0 | unaffected |
| 11.9.2 | unaffected |
| 11.8.6 | unaffected |
| 11.7.11 | unaffected |
Original source description
Mattermost versions 11.9.x <= 11.9.1, 11.8.x <= 11.8.5, 11.7.x <= 11.7.10 fail to validate the target post ID in the Agents plugin's mention reminder component, which allows an authenticated user who can post in a channel visible to a system administrator to cause the administrator's browser to send an unintended API request, resulting in replacement of an installed plugin and code execution on the server, via a crafted post containing a forged mention reminder that the administrator clicks. Mattermost Advisory ID: MMSA-2026-00742