MS Teams plugin OAuth allows editing arbitrary posts
Mattermost versions 10.11.x <= 10.11.3, 10.5.x <= 10.5.11, 10.12.x <= 10.12.0 fail to validate the relationship between the post being updated and the MSTeams plugin OAuth flow which allows an attacker to edit arbitrary posts via a crafted MSTeams plugin OAuth redirect URL.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Nov 14, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 7th percentile
- CWE
- CWE-306
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.3
- CNA · Mattermost
- 5.4
- 0.1 point gap
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| mattermost | mattermost server | cpe:2.3:a:mattermost:mattermost_server |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mattermost mattermost server10.5.0 and later · before 10.5.12
- mattermost mattermost server10.11.0 and later · before 10.11.4
- mattermost mattermost server10.12.0 and later · before 10.12.1
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Mattermost). Independent of NVD's CPE analysis and usually ahead of it.
Mattermost Mattermost
- 11.0.0, 10.11.4, 10.5.12, 10.12.1not affected
- 10.11.0 and later · up to and including 10.11.3affected · semver
- 10.5.0 and later · up to and including 10.5.11affected · semver
- 10.12.0 and later · up to and including 10.12.0affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | from 10.11.0 · before 10.11.4 | 10.11.4 |
| Go | github.com/mattermost/mattermost-server | from 10.11.0+incompatible · before 10.11.4+incompatible | 10.11.4+incompatible |
| Go | github.com/mattermost/mattermost-server | from 10.12.0 · before 10.12.1 | 10.12.1 |
| Go | github.com/mattermost/mattermost-server | from 10.12.0+incompatible · before 10.12.1+incompatible | 10.12.1+incompatible |
| Go | github.com/mattermost/mattermost-server | from 10.5.0 · before 10.5.12 | 10.5.12 |
| Go | github.com/mattermost/mattermost-server | from 10.5.0+incompatible · before 10.5.12+incompatible | 10.5.12+incompatible |
| Go | github.com/mattermost/mattermost-server/v5 | all versions | — |
| Go | github.com/mattermost/mattermost-server/v6 | all versions | — |
| Go | github.com/mattermost/mattermost/server/v8 | before 8.0.0-20250929212932-a41db04d2746 | 8.0.0-20250929212932-a41db04d2746 |
Same product
mattermost: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-4858Path traversal in integration action URL leading to arbitrary API execution via system admin’s auth token.39Monitor
- CVE-2025-12421Account Takeover via Code Exchange Endpoint39Monitor
- CVE-2025-12419Account takeover on OAuth/OpenID-enabled servers39Monitor
- CVE-2025-4981Path Traversal Leading to RCE by Any Authenticated Mattermost User39Monitor
- CVE-2023-6458Client side path traversal due to lack of route parameters validation39Monitor
- CVE-2017-18920An issue was discovered in Mattermost Server before 3.6.2.39Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Go:github.com/mattermost/mattermost-server | 10.11.4 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.11.4+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.12.1 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.12.1+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.5.12 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.5.12+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost/server/v8 | 8.0.0-20250929212932-a41db04d2746 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Juho ForsénMattermostfinder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2025-25068238 days apartBypassing MFA Enforcement on Plugin Endpoints35Monitor
- CVE-2025-550700 days apartLack of MFA enforcement in WebSocket connections30Monitor
- CVE-2025-6226119 days apartIDOR in CreatePost API allows for timeboxed message disclosure26Monitor
- CVE-2026-6673220 days apartMattermost Jira plugin had unauthenticated {{/ac/installed}} lifecycle callback during pending Jira Cloud install25Monitor
- CVE-2025-1387018 days apartUnauthorized access and subscription vulnerability in Boards17Monitor
- CVE-2025-4787085 days apartTeam invite ID leaked to team admin with no member invite privileges17Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
- CVE-2025-907956 days apartAdmin RCE via prepackaged plugins by way of misconfigured imports directory28Monitor
- CVE-2025-4922285 days apartMattermost Shared Channel Upload Type Validation Bypass27Monitor
- CVE-2025-3653085 days apartImport Path Traversal Enables Unauthorized Unsigned Plugin Installation19Monitor
- CVE-2025-4770085 days apartAI plugin APIs can be triggered using post actions14Monitor
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- low · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-306 · Missing Authentication for Critical FunctionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
nvd-primary
Root cause
A function added for development or support ships to production without authentication. It often relies on the assumption that it is “only reachable from the internal network.”
The bug in code
The whole CWE-306 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
// Added for the support teamapp.post("/maintenance/reset", resetDevice);Fixed
if (config.maintenanceEnabled) { app.post( "/maintenance/reset", requireSession, requireRole("admin"), resetDevice );}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.