GitHub Advisory Database
GHSA-3mw5-466q-295q
Mattermost allows system administrators to read arbitrary host files via malicious AdvancedLoggingJSON configuration
Details
Mattermost versions 11.4.x <= 11.4.0, 11.3.x <= 11.3.1, 11.2.x <= 11.2.3, 10.11.x <= 10.11.11 fail to validate Advanced Logging file target paths which allows system administrators to read arbitrary host files via malicious AdvancedLoggingJSON configuration in support packet generation. Mattermost Advisory ID: MMSA-2025-00562.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | From 11.4.0-rc1 before 11.4.1 (fixed in 11.4.1) |
| Go | github.com/mattermost/mattermost/server/v8 | From 11.3.0-rc1 before 11.3.2 (fixed in 11.3.2) |
| Go | github.com/mattermost/mattermost/server/v8 | From 11.2.0-rc1 before 11.2.4 (fixed in 11.2.4) |
| Go | github.com/mattermost/mattermost/server/v8 | From 10.11.0-rc1 before 10.11.12 (fixed in 10.11.12) |
| Go | github.com/mattermost/mattermost/server/v8 | From 8.0.0-20260105080200-d27a2195068d before 8.0.0-20260217110922-b7d4a1f1f59b (fixed in 8.0.0-20260217110922-b7d4a1f1f59b) |