# MixPHP Framework has an SQL injection vulnerability via crafted \`data\` array

Advisory record · `GHSA-q57j-rwwx-7rwp`

- **Identifiers:** `GHSA-q57j-rwwx-7rwp` · `CVE-2026-42474` · `PKSA-rnvq-qnrp-k5ms`
- **State:** Confirmed
- **Severity:** CVSS 6.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-89](https://cwe.mitre.org/data/definitions/89.html)
- **Tags:** [SQL injection](https://agentprime.io/advisories/tag/sql-injection.md)
- **Published:** 1 May 2026
- **Updated:** 7 May 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 1 May 2026, 18:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `mix/mix` (Packagist): affected `>=2.0.0, <=2.2.17`; no fixed version yet

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> MixPHP framework package mix/mix, versions 2.0.0 through 2.2.17, contains an SQL injection flaw in the data function of BuildHelper.php, triggered by a crafted data array. The source gives few details about the required access or the exact impact. No fix is listed, so there is no patched version to upgrade to.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.5 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 10th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:25 UTC: First seen by agentprime
- 31 Oct 2026, 14:25 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-q57j-rwwx-7rwp)

## Sources

- [GitHub Advisory Database: GHSA-q57j-rwwx-7rwp](https://github.com/advisories/GHSA-q57j-rwwx-7rwp)
- [OSV: GHSA-q57j-rwwx-7rwp](https://osv.dev/vulnerability/GHSA-q57j-rwwx-7rwp)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42474>
- <https://gist.github.com/sgInnora/fa46386840fe978a30d7e53c458f2975>
- <https://github.com/mix-php/mix>
- <https://github.com/mix-php/mix/blob/v2.2.17/src/database/src/Helper/BuildHelper.php>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-q57j-rwwx-7rwp>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-q57j-rwwx-7rwp/>. Everything for agents: <https://agentprime.io/llms.txt>.
