CVE-2023-2193 in Mattermost
Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker possessing an authorization code to generate an access token.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mattermost | Mattermost | 7.1.7 7.7.3 7.8.2 7.9.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker possessing an authorization code to generate an access token.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-2193 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-059783-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Published | 2023-04-20 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-862: Missing Authorization
Software does not check whether an authenticated actor has permission for the requested operation.
Related attack patterns (CAPEC)
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker with an authorization code to generate an access token.
An attacker who has obtained a valid authorization code from a Mattermost OAuth2 app can generate an access token even after the app has been deauthorized. This is due to the failure of Mattermost to invalidate the authorization code upon deauthorization.
Questions
What is CVE-2023-2193?
Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker with an authorization code to generate an access token.
What is the CVSS score for CVE-2023-2193?
CVE-2023-2193 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.7%.
Is CVE-2023-2193 actively exploited?
No confirmed active exploitation of CVE-2023-2193 as of 2026-05-30.
How do I remediate CVE-2023-2193?
Priority: IMMEDIATE. Advisory: https://mattermost.com/security-updates/ PSIRT: [email protected]
What systems are affected by CVE-2023-2193?
CVE-2023-2193 affects Mattermost Mattermost.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mattermost","product":"Mattermost","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.