CVE-2025-21628 Chatwoot has a Blind SQL-injection in Conversation and Contacts filters

Critical 9.1 Published Updated

Authenticated attackers can execute arbitrary SQL queries via unsanitized filter inputs in Chatwoot, potentially reading or modifying data.

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

What is CVE-2025-21628?

CVE-2025-21628 is a critical SQL injection vulnerability in chatwoot, published on 9 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Chatwoot is a customer engagement suite. Prior to 3.16.0, conversation and contact filters endpoints did not sanitize the input of query_operator passed from the frontend or the API. This provided any actor who is authenticated, an attack vector to run arbitrary SQL within the filter query by adding a tautological WHERE clause. This issue is patched with v3.16.0.

Weakness: CWE-89

Which versions are affected by CVE-2025-21628?

It affects 1 product.

Products include Chatwoot Chatwoot.

How do I fix CVE-2025-21628?

Upgrade to a fixed version.

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-21628 being exploited?

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

Sources

Also known as CLEANSTART-2026-IL49737, GHSA-g8f9-hh83-rcq9.

Is CVE-2025-21628 in your software?

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

Check your SBOMs for free