Advisory

GHSA-wvw2-3jh4-4c39

Also known as: CVE-2025-6233, GO-2025-3820

Summary

Mattermost Path Traversal vulnerability

Details

Mattermost versions 10.8.x <= 10.8.1, 10.7.x <= 10.7.3, 10.5.x <= 10.5.7, 9.11.x <= 9.11.16 fail to sanitize input paths of file attachments in the bulk import JSONL file, which allows a system admin to read arbitrary system files via path traversal.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-07-18 12:30 UTC
Modified
2025-07-29 19:14 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.8.0, fixed 10.8.2 (semver)

Fixed versions

10.8.2

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.7.0, fixed 10.7.4 (semver)

Fixed versions

10.7.4

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.5.0, fixed 10.5.8 (semver)

Fixed versions

10.5.8

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 9.11.0, fixed 9.11.17 (semver)

Fixed versions

9.11.17

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20250529054450-d38c27f96fcf (semver)

Fixed versions

8.0.0-20250529054450-d38c27f96fcf

Fix

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

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