{"id":"CVE-2026-42550","aliases":["GHSA-xwqr-rcqg-22mr"],"url":"https://o3.security/vulnerability/CVE-2026-42550","summary":"Flight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete","details":"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.","published":"2026-05-13T19:22:53.297Z","modified":"2026-08-07T11:31:06.064506213Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"flightphp/core","fixedVersion":"3.18.1"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42550.json"},{"type":"ADVISORY","url":"https://github.com/flightphp/core/security/advisories/GHSA-xwqr-rcqg-22mr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42550"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:06.064506213Z"}}