GitHub Advisory Database
GHSA-69j8-prx2-vx98
Mattermost Open Redirect vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost-server | From 10.10.0 before 10.10.2 (fixed in 10.10.2) |
| Go | github.com/mattermost/mattermost-server | From 10.5.0 before 10.5.10 (fixed in 10.5.10) |
| Go | github.com/mattermost/mattermost-server | From 10.9.0 before 10.9.5 (fixed in 10.9.5) |
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.0.0-20250731063404-9eebaadf8f72 (fixed in 8.0.0-20250731063404-9eebaadf8f72) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-9072
- https://github.com/mattermost/mattermost/commit/13cd76009d31754db46115bddef5287a8a29871a
- https://github.com/mattermost/mattermost/commit/9eebaadf8f720788e99b6997337c8df330271326
- https://github.com/mattermost/mattermost/commit/fda403fb6ec41bea8780bff198a26860f105e6e5
- https://github.com/mattermost/mattermost
- https://mattermost.com/security-updates