CVE-2025-27538: MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users
Noroxi assessment
Priority: Monitor (action score 10/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.24% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. Administrator privileges are required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: github.com/mattermost/mattermost-server (Go) 10.5.2+incompatible, 9.11.10+incompatible; github.com/mattermost/mattermost/server/v8 (Go) 10.5.2, 9.11.10, 8.0.0-20250314142426-c049748b8863; govulncheck-vulndb (openSUSE:Tumbleweed) 0.0.20250422T181640-1.1.
Low priority for now. Upgrade to github.com/mattermost/mattermost-server (Go) 10.5.2+incompatible, 9.11.10+incompatible; github.com/mattermost/mattermost/server/v8 (Go) 10.5.2, 9.11.10, 8.0.0-20250314142426-c049748b8863; govulncheck-vulndb (openSUSE:Tumbleweed) 0.0.20250422T181640-1.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Mattermost versions 10.5.x <= 10.5.1, 9.11.x <= 9.11.9 fail to enforce MFA checks in PUT /api/v4/users/user-id/mfa when the requesting user differs from the target user ID, which allows users with edit_other_users permission to activate or deactivate MFA for other users, even if those users have not set up MFA.
- Published
- Apr 16, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 16th percentile
- CWE
- CWE-306
Report tools
Action score
10
Low priority for now.
- CVSS
- 10 / 40 · 2.7 / 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
- 2.7
- CNA · Mattermost
- 2.2
- 0.5 point gap
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| mattermost | mattermost server | cpe:2.3:a:mattermost:mattermost_server |
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
- 10.6.0, 10.5.2, 9.11.10not affected
- 10.5.0 and later · up to and including 10.5.1affected · semver
- 9.11.0 and later · up to and including 9.11.9affected · semver
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mattermost mattermost server9.11.0 and later · before 9.11.10
- mattermost mattermost server10.5.0 and later · before 10.5.2
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.5.0+incompatible · before 10.5.2+incompatible | 10.5.2+incompatible |
| Go | github.com/mattermost/mattermost-server | from 9.11.0+incompatible · before 9.11.10+incompatible | 9.11.10+incompatible |
| Go | github.com/mattermost/mattermost-server/v5 | from 0 | — |
| Go | github.com/mattermost/mattermost-server/v6 | from 0 | — |
| Go | github.com/mattermost/mattermost/server/v8 | from 10.5.0 · before 10.5.2 | 10.5.2 |
| Go | github.com/mattermost/mattermost/server/v8 | from 9.11.0 · before 9.11.10 | 9.11.10 |
| Go | github.com/mattermost/mattermost/server/v8 | before 8.0.0-20250314142426-c049748b8863 | 8.0.0-20250314142426-c049748b8863 |
| openSUSE:Tumbleweed | govulncheck-vulndb | before 0.0.20250422T181640-1.1 | 0.0.20250422T181640-1.1 |
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
Published before and after this one in the same product
- ← EarlierCVE-2025-2475Apr 14, 2025 · Unauthorized Bot Login Using Credentials21Monitor
- ← EarlierCVE-2025-24839Apr 16, 2025 · Unauthorized AI bot activation via Wrangler plugin17Monitor
- Later →CVE-2025-27571Apr 16, 2025 · Channel metadata visible in archived channels despite configuration setting17Monitor
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.5.2+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 9.11.10+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost/server/v8 | 10.5.2 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost/server/v8 | 8.0.0-20250314142426-c049748b8863 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost/server/v8 | 9.11.10 | Package registry (OSV) |
| opensuse:govulncheck-vulndb | 0.0.20250422T181640-1.1 · openSUSE:Tumbleweed | 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.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- 0x7oda7123finder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2025-2506826 days apartBypassing MFA Enforcement on Plugin Endpoints35Monitor
- CVE-2025-55070212 days apartLack of MFA enforcement in WebSocket connections30Monitor
- CVE-2025-622693 days apartIDOR in CreatePost API allows for timeboxed message disclosure26Monitor
- CVE-2026-6673432 days apartMattermost Jira plugin had unauthenticated {{/ac/installed}} lifecycle callback during pending Jira Cloud install25Monitor
- CVE-2025-55073212 days apartMS Teams plugin OAuth allows editing arbitrary posts21Monitor
- CVE-2025-47870127 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-498165 days apartPath Traversal Leading to RCE by Any Authenticated Mattermost User39Monitor
- CVE-2025-2527426 days apartUnauthorized Command Execution in Archived Channels35Monitor
- CVE-2025-2449051 days apartSQL Injection in Mattermost Boards via board category ID reordering26Monitor
- CVE-2025-2005151 days apartArbitrary file read via block duplication in Mattermost Boards26Monitor
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Not on record for this CVE: EPSS history · patch commit or PR link.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- Administrator privileges are 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
- High
- 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:H/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 team
app.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 (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.