# CVE-2026-42550: Flight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 37% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-06T21:35:55.000Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-xwqr-rcqg-22mr
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Flight is an extensible micro-framework for PHP. Prior to 3.18.1, SimplePdo::insert(), SimplePdo::update(), and SimplePdo::delete() build SQL statements by concatenating the $table argument and the keys of the $data array directly into the query, with no identifier quoting and no validation. When an application forwards user-controlled data shapes to these helpers — a common and documented pattern, e.g. $db->insert('users', $request->data->getData()) — an attacker can inject arbitrary SQL by crafting malicious array keys. This vulnerability is fixed in 3.18.1.

(As written by CVE List.)

## Affected

- flightphp core: < 3.18.1
- flightphp/core (Packagist): before 3.18.1

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/flightphp/core/security/advisories/GHSA-xwqr-rcqg-22mr> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42550> (advisory)
- <https://github.com/flightphp/core/commit/b8dd23aaa828cb289fa3c84e75b2a3717cab50b0> (web)
- <https://github.com/flightphp/core> (package)
- <https://github.com/flightphp/core/releases/tag/v3.18.1> (web)

## Sources

- CVE List: [CVE-2026-42550](https://www.cve.org/CVERecord?id=CVE-2026-42550), CVE Terms of Use, modified 2026-05-14
- GitHub Advisory Database: [GHSA-xwqr-rcqg-22mr](https://github.com/advisories/GHSA-xwqr-rcqg-22mr), CC-BY-4.0, modified 2026-05-14
- NVD: [CVE-2026-42550](https://nvd.nist.gov/vuln/detail/CVE-2026-42550), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42550 · Whole record: https://cve.day/CVE-2026-42550.json · Rebuilt by cve.day 2026-11-25T22:59:21.656Z
