Skip to content
Noroxi
NVD / CVE Program· CNA Mattermost

CVE-2024-39777: Malicious remote can invite itself to an arbitrary local channel

CriticalCVSS 9.6 · v3.1—No exploit Fix available

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

Report tools

JSON

Action score

38

Monitor

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.

Follow CVE-2024-39777

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi 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 help

Affected 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.

VendorProduct
mattermostmattermost

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

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Gogithub.com/mattermost/mattermost-serverfrom 9.5.0+incompatible · before 9.5.7+incompatible9.5.7+incompatible
Gogithub.com/mattermost/mattermost-serverfrom 9.7.0+incompatible · before 9.7.6+incompatible9.7.6+incompatible
Gogithub.com/mattermost/mattermost-serverfrom 9.8.0+incompatible · before 9.8.1+incompatible9.8.1+incompatible
Gogithub.com/mattermost/mattermost-serverfrom 9.9.0+incompatible · before 9.9.1+incompatible9.9.1+incompatible
Gogithub.com/mattermost/mattermost-server/v5from 0—
Gogithub.com/mattermost/mattermost-server/v6from 0—
Gogithub.com/mattermost/mattermost/server/v8from 0—
Gogithub.com/mattermost/mattermost/server/v8from 9.5.0 · before 9.5.79.5.7
Gogithub.com/mattermost/mattermost/server/v8from 9.7.0 · before 9.7.69.7.6
Gogithub.com/mattermost/mattermost/server/v8from 9.8.0 · before 9.8.19.8.1
Gogithub.com/mattermost/mattermost/server/v8from 9.9.0 · before 9.9.19.9.1

Other highest-scoring records for the same primary product.

  • CVE-2023-2193Oauth authorization codes do not expire when deauthorizing an oauth2 app
    36Monitor
  • 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 page
    35Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2024-36492Aug 1, 2024 · Existing local user overwritten by malicious remote
    25Monitor
  • ← EarlierCVE-2024-39274Aug 1, 2024 · Malicious remote can add users to arbitrary teams and channels
    26Monitor
  • Later →CVE-2024-39832Aug 1, 2024 · Permanently local data deletion by malicious remote
    34Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Go:github.com/mattermost/mattermost-server9.5.7+incompatiblePackage registry (OSV)
Go:github.com/mattermost/mattermost-server9.7.6+incompatiblePackage registry (OSV)
Go:github.com/mattermost/mattermost-server9.8.1+incompatiblePackage registry (OSV)
Go:github.com/mattermost/mattermost-server9.9.1+incompatiblePackage registry (OSV)
Go:github.com/mattermost/mattermost/server/v89.5.7Package registry (OSV)
Go:github.com/mattermost/mattermost/server/v89.7.6Package registry (OSV)
Go:github.com/mattermost/mattermost/server/v89.8.1Package registry (OSV)
Go:github.com/mattermost/mattermost/server/v89.9.1Package 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.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

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 admin
    28Monitor
  • CVE-2024-392740 days apartMalicious remote can add users to arbitrary teams and channels
    26Monitor
  • CVE-2024-642829 days apartLimited DoS due to permitting creating users with user-defined IDs
    26Monitor
  • CVE-2024-364920 days apartExisting local user overwritten by malicious remote
    25Monitor
  • 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 API
    21Monitor

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

nvd-primary

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records