# CVE-2025-41395: Mattermost Playbooks fails to properly validate the props used by the RetrospectivePost custom post type

Source: https://junglewise.ai/threats/cve-2025-41395-mattermost-playbooks-fails-to-properly-validate-the-props-used-by  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-04-24  
License: CC BY 4.0 with a link back

CVE-2025-41395 · Severity: low · CVSS 3.1 · Published 2025-04-24

Mattermost Playbooks fails to properly validate the props used by the RetrospectivePost custom post type in github.com/mattermost/mattermost-plugin-playbooks

Technologies: [github.com/mattermost/mattermost-plugin-playbooks (Go)](https://junglewise.ai/threats/technologies/github-com-mattermost-mattermost-plugin-playbooks), [github.com/mattermost/mattermost-server (Go)](https://junglewise.ai/threats/technologies/github-com-mattermost-mattermost-server), [github.com/mattermost/mattermost-server/v5 (Go)](https://junglewise.ai/threats/technologies/github-com-mattermost-mattermost-server-v5), [github.com/mattermost/mattermost-server/v6 (Go)](https://junglewise.ai/threats/technologies/github-com-mattermost-mattermost-server-v6), [github.com/mattermost/mattermost/server/v8 (Go)](https://junglewise.ai/threats/technologies/github-com-mattermost-mattermost-server-v8). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2025-41395 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-41395 being exploited in the wild.

**How severe is CVE-2025-41395?** Low severity, with a CVSS score of 3.1, published 24 April 2025.

**Which products and versions are affected?** github.com/mattermost/mattermost-plugin-playbooks (Go) SEMVER:introduced=0, SEMVER:introduced=2.0.0; github.com/mattermost/mattermost-server (Go) SEMVER:introduced=9.11.0+incompatible; github.com/mattermost/mattermost-server/v5 (Go) SEMVER:introduced=0; github.com/mattermost/mattermost-server/v6 (Go) SEMVER:introduced=0; and 1 more.

**Is there a fix for CVE-2025-41395?** Yes. github.com/mattermost/mattermost/server/v8 (Go): upgrade to 8.0.0-20250218121836-2b5275d87136 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-41395?** Check whether you run github.com/mattermost/mattermost-plugin-playbooks (Go), github.com/mattermost/mattermost-server (Go), github.com/mattermost/mattermost-server/v5 (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/mattermost/mattermost/server/v8 (Go): upgrade to 8.0.0-20250218121836-2b5275d87136 or later

  ```sh
  go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250218121836-2b5275d87136
  ```


## Affected products

- github.com/mattermost/mattermost-plugin-playbooks (Go) SEMVER:introduced=0, SEMVER:introduced=2.0.0
- github.com/mattermost/mattermost-server (Go) SEMVER:introduced=9.11.0+incompatible
- github.com/mattermost/mattermost-server/v5 (Go) SEMVER:introduced=0
- github.com/mattermost/mattermost-server/v6 (Go) SEMVER:introduced=0
- github.com/mattermost/mattermost/server/v8 (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=8.0.0-20250218121836-2b5275d87136

## Identifiers

- CVE-2025-41395
- GHSA-3g36-gf7c-75qw
- GO-2025-3642

## Related threats

- [Mattermost doesn't validate decompressed archive entry sizes during file extraction](https://junglewise.ai/threats/cve-2026-3114-mattermost-doesn-t-validate-decompressed-archive-entry-sizes)
- [Mattermost allows authenticated guest users to enumerate user IDs outside their allowed visibility scope](https://junglewise.ai/threats/cve-2026-3115-mattermost-allows-authenticated-guest-users-to-enumerate-user-ids)
- [GO-2026-5629 - Mattermost doesn't properly validate CSRF tokens in github.com/mattermost/mattermost-server](https://junglewise.ai/threats/cve-2026-27659-mattermost-doesn-t-properly-validate-csrf-tokens)
- [GO-2026-5495 - Mattermost doesn't validate CSRF tokens on an authentication endpoint in github.com/mattermost/mattermost-server](https://junglewise.ai/threats/cve-2026-28741-mattermost-doesn-t-validate-csrf-tokens-on-an-authentication)
- [Mattermost allows attackers to take over arbitrary user accounts via overly permissive substring matching flaw](https://junglewise.ai/threats/cve-2026-27656-mattermost-allows-attackers-to-take-over-arbitrary-user-accounts)
