CVE-2022-50589 SuiteCRM < 7.12.6 SQL Injection via 'export' Functionality

Critical 9.3 Published Updated

Remote unauthenticated attackers can execute arbitrary code via SQL injection in the export functionality of SuiteCRM.

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

What is CVE-2022-50589?

CVE-2022-50589 is a critical SQL injection vulnerability in Salesagility Suitecrm, published on 6 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SuiteCRM versions prior to 7.12.6 contain a SQL injection vulnerability within the processing of the ‘uid’ parameter within the ‘export’ functionality. Successful exploitation allows remote unauthenticated attackers to ultimately execute arbitrary code.

Weakness: CWE-89

Which versions are affected by CVE-2022-50589?

It affects 1 product.

Products include Salesagility Suitecrm.

How do I fix CVE-2022-50589?

No fix has been published for CVE-2022-50589 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-2022-50589 being exploited?

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

All Salesagility Suitecrm vulnerabilities

Sources

Also known as GHSA-wj94-phrx-4jq9.

Is CVE-2022-50589 in your software?

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

Check your SBOMs for free