Vulnerability in github.com/mattermost/mattermost-server
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-6689 has been found in github.com/mattermost/mattermost-server.
Attackers can target a specific entry point like POST /api/v4/teams over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 4.3/10.
What to do: upgrade github.com/mattermost/mattermost-server to 10.11.17 or later.
If unsure, ask your IT team or search "github.com/mattermost/mattermost-server CVE-2026-6689" on the vendor's site.
CVE-2026-6689 (github.com/mattermost/mattermost-server) — CWE-862 / CVSS v3 4.3
Attack vector: remote (network-reachable) / no user interaction
Attack surface: POST /api/v4/teams
Patched: 10.11.17 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-862) exists in github.com/mattermost/mattermost-server. Attackers reach the vulnerable code path via POST /api/v4/teams.
Check the vendor advisory for the affected versions of github.com/mattermost/mattermost-server. Attack surface: POST /api/v4/teams.
Severity: Medium (CVSS 4.3/10). Risk of unauthorized operations or information disclosure.
Update to 10.11.17.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual POST /api/v4/teams requests with malformed payloads or SQL meta-characters. Run grep -r 'github.com/mattermost/mattermost-server' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'github.com/mattermost/mattermost-server' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/mattermost/mattermost-serverを grep し、稼働しているサービス・バージョンを把握する。 -
2
Hunt for indicators of compromisedetect
grep 'POST /api/v4/teams' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
POST /api/v4/teamsへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3
Apply patchpatch
Upgrade github.com/mattermost/mattermost-server to 10.11.17ステージング環境で 10.11.17 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
4
Post-deployment verificationverify
Replay attack against POST /api/v4/teams on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gogithub.com/mattermost/mattermost-server |
≥ 10.11.0+incompatible, < 10.11.17+incompatible→ 10.11.17+incompatible ≥ 11.5.0+incompatible, < 11.5.5+incompatible→ 11.5.5+incompatible ≥ 11.6.0+incompatible, < 11.6.1+incompatible→ 11.6.1+incompatible |
10.11.17+incompatible 11.5.5+incompatible 11.6.1+incompatible |
| gogithub.com/mattermost/mattermost/server/v8 |
≥ 8.0.0-20250731163400-5b955468ea1e, < 8.0.0-20260501144115-7d6816abdfd1→ 8.0.0-20260501144115-7d6816abdfd1 |
8.0.0-20260501144115-7d6816abdfd1 |
| Gogithub.com/mattermost/mattermost-server/v5 |
All versions→ Not listed |
Not listed |
| Gogithub.com/mattermost/mattermost-server/v6 |
All versions→ Not listed |
Not listed |
Original description The description as published by the source.
Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.11.x <= 10.11.15, 10.11.x <= 10.11.16 Fail to enforce PermissionInviteUser when setting AllowOpenInvite or AllowedDomains during team creation (the check was only applied on update/patch), which allows an authenticated user holding PermissionCreateTeam but not PermissionInviteUser on the resulting team to configure invite-controlled team settings (make the team publicly joinable via open invite and/or constrain membership via allowed domains) that they are not permitted to set on an existing team via POST /api/v4/teams with allow_open_invite: true and/or a non-empty allowed_domains in the request body.. Mattermost Advisory ID: MMSA-2026-00655
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory mattermost.com
- advisory github.com
- advisory github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com