Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mix/mix
  4. ›
  5. CVE-2026-42474

CVE-2026-42474: MixPHP Framework has an SQL injection vulnerability via crafted `data` array

May 1, 2026 (updated May 7, 2026)

SQL injection vulnerability in MixPHP Framework 2.x thru 2.2.17 via crafted data array to the data function in BuildHelper.php.

References

  • gist.github.com/sgInnora/fa46386840fe978a30d7e53c458f2975
  • github.com/advisories/GHSA-q57j-rwwx-7rwp
  • github.com/mix-php/mix
  • github.com/mix-php/mix/blob/v2.2.17/src/database/src/Helper/BuildHelper.php
  • nvd.nist.gov/vuln/detail/CVE-2026-42474

Code Behaviors & Features

Detect and mitigate CVE-2026-42474 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 up to 2.2.17

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/mix/mix/CVE-2026-42474.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 15 Nov 2026 00:16:19 +0000.