CVE-2025-24490 SQL Injection in Mattermost Boards via board category ID reordering

Critical 9.6 Published Updated

An attacker can retrieve database data via SQL injection in Mattermost Boards when reordering categories due to missing prepared statements.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-24490?

CVE-2025-24490 is a critical SQL injection vulnerability in Mattermost Mattermost Server, published on 24 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to use prepared statements in the SQL query of boards reordering which allows an attacker to retrieve data from the database, via a SQL injection when reordering specially crafted boards categories.

Weakness: CWE-89

Which versions are affected by CVE-2025-24490?

It affects 1 product.

Products include Mattermost Mattermost Server.

How do I fix CVE-2025-24490?

No fix has been published for CVE-2025-24490 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-24490 being exploited?

There is no known exploitation of CVE-2025-24490 in the wild and no public exploit code.

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as GHSA-p4jg-qmjv-9x26.

Is CVE-2025-24490 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free