CVE-2026-42474 MixPHP Framework has an SQL injection vulnerability via crafted `data` array
Attackers can execute arbitrary SQL commands via crafted data arrays in MixPHP Framework, potentially reading or modifying database contents.
- 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-2026-42474?
CVE-2026-42474 is a medium-severity SQL injection vulnerability in n/a, published on 1 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL injection vulnerability in MixPHP Framework 2.x thru 2.2.17 via crafted `data` array to the data function in BuildHelper.php.
Weakness: CWE-89
Which versions are affected by CVE-2026-42474?
2 open source packages ship an affected version, including mix/mix.
| Package | Affected | Fixed in |
|---|---|---|
mix/mix Packagist | From 2.0.0 to 2.2.17 | None |
mix/mix Packagist | From 2.0.0 to 2.2.17 | None |
How do I fix CVE-2026-42474?
No fix has been published for CVE-2026-42474 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-2026-42474 being exploited?
There is no known exploitation of CVE-2026-42474 in the wild and no public exploit code.
Sources
Also known as GHSA-q57j-rwwx-7rwp.