Skip to content

CVE-2025-9072 One-Click Mattermost Account Takeover via Poisoned RelayState SAML Parameter

MediumCVSS 5.4 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

Mattermost versions 10.10.x <= 10.10.1, 10.5.x <= 10.5.9, 10.9.x <= 10.9.4 fail to validate the redirect_to parameter, allowing an attacker to craft a malicious link that, once a user authenticates with their SAML provider, could post the user’s cookies to an attacker-controlled URL.

Upgrade path

4 packages: 3 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.5.0+incompatible, < 10.5.10+incompatible; >= 10.5.0, < 10.5.10; >= 10.9.0+incompatible, < 10.9.5+incompatible; >= 10.9.0, < 10.9.5 +3 more 10.5.10, 10.5.10+incompatible, 10.9.5, 10.9.5+incompatible, 10.10.2, 10.10.2+incompatible Partially fixed
Mattermost >= 10.5.0, <= 10.5.9; >= 10.9.0, <= 10.9.4; >= 10.10.0, <= 10.10.1 after 10.5.9, 10.9.4, 10.10.1 Fixed
Mattermost github.com/mattermost/mattermost/server/v8(Go) < 8.0.0-20250731063404-9eebaadf8f72 8.0.0-20250731063404-9eebaadf8f72 Fixed
mattermost server >= 10.5.0, < 10.5.10; >= 10.9.0, < 10.9.5; >= 10.10.0, < 10.10.2 10.5.10, 10.9.5, 10.10.2 Fixed

Affected products

ProductAffected versionsFixed in
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.10.0, < 10.10.2 10.10.2
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.5.0, < 10.5.10 10.5.10
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.9.0, < 10.9.5 10.9.5
Mattermost github.com/mattermost/mattermost/server/v8(Go) < 8.0.0-20250731063404-9eebaadf8f72 8.0.0-20250731063404-9eebaadf8f72
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.5.0+incompatible, < 10.5.10+incompatible 10.5.10+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.9.0+incompatible, < 10.9.5+incompatible 10.9.5+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.10.0+incompatible, < 10.10.2+incompatible 10.10.2+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) All versions No fix listed
Mattermost >= 10.10.0, <= 10.10.1 No fix listed
Mattermost >= 10.5.0, <= 10.5.9 No fix listed
Mattermost >= 10.9.0, <= 10.9.4 No fix listed
mattermost server >= 10.5.0, < 10.5.10 10.5.10
mattermost server >= 10.9.0, < 10.9.5 10.9.5
mattermost server >= 10.10.0, < 10.10.2 10.10.2

References