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

CVE-2026-42475: MixPHP Framework has an SQL injection vulnerability

May 1, 2026 (updated May 7, 2026)

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

References

  • gist.github.com/sgInnora/fa46386840fe978a30d7e53c458f2975
  • github.com/advisories/GHSA-vf35-8m4j-gm8v
  • 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-42475

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

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-42475.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 12 Jun 2026 12:16:23 +0000.