CVE-2024-39777: Malicious remote can invite itself to an arbitrary local channel
Noroxi assessment
Priority: Monitor (action score 38/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.36% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: github.com/mattermost/mattermost-server (Go) 9.5.7+incompatible, 9.7.6+incompatible, 9.8.1+incompatible; github.com/mattermost/mattermost/server/v8 (Go) 9.5.7, 9.7.6, 9.8.1.
Low priority for now. Upgrade to github.com/mattermost/mattermost-server (Go) 9.5.7+incompatible, 9.7.6+incompatible, 9.8.1+incompatible; github.com/mattermost/mattermost/server/v8 (Go) 9.5.7, 9.7.6, 9.8.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 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.
- Published
- Aug 1, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.3% · 30th percentile
- CWE
- CWE-284
Report tools
Action score
38
Low priority for now.
- CVSS
- 38 / 40 · 9.6 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 9.6
- CNA · Mattermost
- 8.7
- 0.9 point gap
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/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 | cpe:2.3:a:mattermost:mattermost |
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
- 9.10.0, 9.9.1, 9.5.7, 9.7.6, 9.8.2not affected
- 9.9.0affected
- 9.5.0 and later · up to and including 9.5.6affected · semver
- 9.7.0 and later · up to and including 9.7.5affected · semver
- 9.8.0 and later · up to and including 9.8.1affected · semver
Affected versions · NVD (4)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mattermost mattermost9.5.0 and later · before 9.5.7
- mattermost mattermost9.7.0 and later · before 9.7.6
- mattermost mattermost9.8.0 and later · before 9.8.2
- mattermost mattermost9.9.0
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 9.5.0+incompatible · before 9.5.7+incompatible | 9.5.7+incompatible |
| Go | github.com/mattermost/mattermost-server | from 9.7.0+incompatible · before 9.7.6+incompatible | 9.7.6+incompatible |
| Go | github.com/mattermost/mattermost-server | from 9.8.0+incompatible · before 9.8.1+incompatible | 9.8.1+incompatible |
| Go | github.com/mattermost/mattermost-server | from 9.9.0+incompatible · before 9.9.1+incompatible | 9.9.1+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 0 | — |
| Go | github.com/mattermost/mattermost/server/v8 | from 9.5.0 · before 9.5.7 | 9.5.7 |
| Go | github.com/mattermost/mattermost/server/v8 | from 9.7.0 · before 9.7.6 | 9.7.6 |
| Go | github.com/mattermost/mattermost/server/v8 | from 9.8.0 · before 9.8.1 | 9.8.1 |
| Go | github.com/mattermost/mattermost/server/v8 | from 9.9.0 · before 9.9.1 | 9.9.1 |
Same product
mattermost: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-2193Oauth authorization codes do not expire when deauthorizing an oauth2 app36Monitor
- CVE-2019-20851An issue was discovered in Mattermost Mobile Apps before 1.26.0.36Monitor
- CVE-2024-40886One-click Client-Side Path Traversal Leading to CSRF in User Management admin page35Monitor
Published before and after this one in the same product
- ← EarlierCVE-2024-36492Aug 1, 2024 · Existing local user overwritten by malicious remote25Monitor
- ← EarlierCVE-2024-39274Aug 1, 2024 · Malicious remote can add users to arbitrary teams and channels26Monitor
- Later →CVE-2024-39832Aug 1, 2024 · Permanently local data deletion by malicious remote34Monitor
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 | 9.5.7+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 9.7.6+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 9.8.1+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 9.9.1+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost/server/v8 | 9.5.7 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost/server/v8 | 9.7.6 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost/server/v8 | 9.8.1 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost/server/v8 | 9.9.1 | 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.
- 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-2024-807121 days apartSystem Role with edit access to permissions can elevate themselves to system admin28Monitor
- CVE-2024-392740 days apartMalicious remote can add users to arbitrary teams and channels26Monitor
- CVE-2024-642829 days apartLimited DoS due to permitting creating users with user-defined IDs26Monitor
- CVE-2024-364920 days apartExisting local user overwritten by malicious remote25Monitor
- CVE-2024-3625729 days apartLack of permission check when updating the profile picture of a remote user (shared channels enabled)21Monitor
- CVE-2024-3936129 days apartCreating posts with user-defined IDs permitted in CreatePost API21Monitor
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.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-284 · Improper Access ControlCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
nvd-primary
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)
- Embedding Scripts within ScriptsCAPEC-19likelihood: High · High
- Malicious Logic InsertionCAPEC-441likelihood: Medium · High
- Modification of Windows Service ConfigurationCAPEC-478likelihood: Low · High
- Malicious Root CertificateCAPEC-479likelihood: Low · Low
- Intent SpoofCAPEC-502
- WebView ExposureCAPEC-503
- Data Injected During ConfigurationCAPEC-536likelihood: Low · High
- Incomplete Data Deletion in a Multi-Tenant EnvironmentCAPEC-546likelihood: Low · Medium
ATT&CK techniques
- RootkitT1014
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Initialization ScriptsT1037
- Taint shared contentT1080
- Server Software Component: Terminal Services DLLT1505.005
- Pre-OS Boot:BootkitT1542.003
- Create or Modify System ProcessT1543
- Create or Modify System Process: Launch AgentT1543.001
- Create or Modify System Process:Windows ServiceT1543.003
- Create or Modify System Process: Launch DaemonT1543.004
- Event Triggered Execution:Change Default File AssociationT1546.001
- Event Triggered Execution:.bash_profile and .bashrcT1546.004
- Event Triggered Execution: Accessibility FeaturesT1546.008
- Event Triggered Execution: Installer PackagesT1546.016
- Boot or Logon Autostart ExecutionT1547
- Boot or Logon Autostart Execution:Kernel Modules and ExtensionsT1547.006
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.