CVE-2024-39830
Status: ModifiedMedium (5.9)—
Mattermost versions 9.8.x <= 9.8.0, 9.7.x <= 9.7.4, 9.6.x <= 9.6.2 and 9.5.x <= 9.5.5, when shared channels are enabled, fail to use constant time comparison for remote cluster tokens which allows an attacker to retrieve the remote cluster token via a timing attack during remote cluster token comparison.
CVSS
- Version: 3.1
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Base score: 5.9
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 0.38%
- Percentile among all scored CVEs: 30
- Score date: 10/7/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-287
- CWE-203
References
Raw JSON (NVD)
Show
{
"id": "CVE-2024-39830",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2024-39830",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2024-07-03T13:13:17.503877Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "responsibledisclosure@mattermost.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.1,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 2.2
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.9,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 3.6,
"exploitabilityScore": 2.2
}
]
},
"affected": [
{
"source": "responsibledisclosure@mattermost.com",
"affectedData": [
{
"vendor": "Mattermost",
"product": "Mattermost",
"versions": [
{
"status": "affected",
"version": "9.8.0"
},
{
"status": "affected",
"version": "9.7.0",
"versionType": "semver",
"lessThanOrEqual": "9.7.4"
},
{
"status": "affected",
"version": "9.6.0",
"versionType": "semver",
"lessThanOrEqual": "9.6.2"
},
{
"status": "affected",
"version": "9.5.0",
"versionType": "semver",
"lessThanOrEqual": "9.5.5"
},
{
"status": "unaffected",
"version": "9.9.0"
},
{
"status": "unaffected",
"version": "9.8.1"
},
{
"status": "unaffected",
"version": "9.7.5"
},
{
"status": "unaffected",
"version": "9.6.3"
},
{
"status": "unaffected",
"version": "9.5.6"
}
],
"defaultStatus": "unaffected"
}
]
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"affectedData": [
{
"cpes": [
"cpe:2.3:a:mattermost:mattermost:9.8.0:*:*:*:*:*:*:*"
],
"vendor": "mattermost",
"product": "mattermost",
"versions": [
{
"status": "affected",
"version": "9.8.0"
}
],
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:2.3:a:mattermost:mattermost:9.7.0:*:*:*:*:*:*:*"
],
"vendor": "mattermost",
"product": "mattermost",
"versions": [
{
"status": "affected",
"version": "9.7.0",
"versionType": "custom",
"lessThanOrEqual": "9.7.4"
}
],
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:2.3:a:mattermost:mattermost:9.6.0:*:*:*:*:*:*:*"
],
"vendor": "mattermost",
"product": "mattermost",
"versions": [
{
"status": "affected",
"version": "9.6.0",
"versionType": "custom",
"lessThanOrEqual": "9.6.2"
}
],
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:2.3:a:mattermost:mattermost:9.5.0:*:*:*:*:*:*:*"
],
"vendor": "mattermost",
"product": "mattermost",
"versions": [
{
"status": "affected",
"version": "9.5.0",
"versionType": "custom",
"lessThanOrEqual": "9.5.5"
}
],
"defaultStatus": "unaffected"
}
]
}
],
"published": "2024-07-03T09:15:07.507",
"references": [
{
"url": "https://mattermost.com/security-updates",
"tags": [
"Vendor Advisory"
],
"source": "responsibledisclosure@mattermost.com"
},
{
"url": "https://mattermost.com/security-updates",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "responsibledisclosure@mattermost.com",
"description": [
{
"lang": "en",
"value": "CWE-287"
}
]
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-203"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Mattermost versions 9.8.x <= 9.8.0, 9.7.x <= 9.7.4, 9.6.x <= 9.6.2 and 9.5.x <= 9.5.5, when shared channels are enabled, fail to use constant time comparison for remote cluster tokens which allows an attacker to retrieve the remote cluster token via a timing attack during remote cluster token comparison."
},
{
"lang": "es",
"value": "Las versiones de Mattermost 9.8.x <= 9.8.0, 9.7.x <= 9.7.4, 9.6.x <= 9.6.2 y 9.5.x <= 9.5.5, cuando los canales compartidos están habilitados, no pueden usar la comparación de tiempo constante para tokens de clúster remoto, lo que permite a un atacante recuperar el token de clúster remoto mediante un ataque de sincronización durante la comparación de tokens de clúster remoto."
}
],
"lastModified": "2026-06-17T07:42:52.953",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D07BE1B5-9663-4112-9F58-A4BAD0BEC92F",
"versionEndExcluding": "9.5.6",
"versionStartIncluding": "9.5.0"
},
{
"criteria": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "08894FF3-4671-4A09-BC9C-9C2664072DE5",
"versionEndExcluding": "9.6.3",
"versionStartIncluding": "9.6.0"
},
{
"criteria": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "EC45455D-F190-4B91-8F5B-8E776495840D",
"versionEndExcluding": "9.7.5",
"versionStartIncluding": "9.7.0"
},
{
"criteria": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "68C48441-A3DC-4812-9E7E-92B23E1B95BB",
"versionEndExcluding": "9.8.1",
"versionStartIncluding": "9.8.0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "responsibledisclosure@mattermost.com"
}