Advisory

GHSA-qwwm-c582-82rx

Also known as: CVE-2025-3227, GO-2025-3772

Summary

Mattermost allows unauthorized channel member management through playbook runs

Details

Mattermost versions 10.5.x <= 10.5.5, 9.11.x <= 9.11.15, 10.8.x <= 10.8.0, 10.7.x <= 10.7.2, 10.6.x <= 10.6.5 fail to properly enforce channel member management permissions in playbook runs, allowing authenticated users without the 'Manage Channel Members' permission to add or remove users from public and private channels by manipulating playbook run participants when the run is linked to a channel.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-06-20 15:30 UTC
Modified
2025-07-28 20:42 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20250520060012-d0380305ef7a (semver)

Fixed versions

0.0.0-20250520060012-d0380305ef7a

Fix

  • Fixed version 0.0.0-20250520060012-d0380305ef7a
    go get github.com/mattermost/[email protected]

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20250520060012-d0380305ef7a (semver)

Fixed versions

8.0.0-20250520060012-d0380305ef7a

Fix

  • Fixed version 8.0.0-20250520060012-d0380305ef7a
    go get github.com/mattermost/mattermost/server/[email protected]

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.5.0, fixed 10.5.6 (semver)

Fixed versions

10.5.6

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.11.0, fixed 9.11.16 (semver)

Fixed versions

9.11.16

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.8.0, fixed 10.8.1 (semver)

Fixed versions

10.8.1

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.7.0, fixed 10.7.3 (semver)

Fixed versions

10.7.3

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.6.0, fixed 10.6.6 (semver)

Fixed versions

10.6.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences