{"id":"CVE-2026-42550","published":"2026-05-13T19:22:53Z","modified":"2026-05-14T15:44:19Z","title":"Flight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete","vendor":"flightphp","product":"core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00455,"percentile":0.40338,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/flightphp/core/security/advisories/GHSA-xwqr-rcqg-22mr","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.07},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"flightphp","affectedVersions":[{"vendor":"flightphp","product":"core","versions":["< 3.18.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-14T15:43:39.063275Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"flightphp/core","vulnerableRanges":["<3.18.1"],"patched":["3.18.1"],"from":["GHSA-xwqr-rcqg-22mr"],"provenance":"source"}],"summary":{"text":"Flight's core framework, prior to 3.18.1, has an SQL injection flaw in the SimplePdo insert, update, and delete helpers, which concatenate the table name and data array keys directly into queries without quoting or validation. An attacker with low-privileged network access to an application that forwards user-controlled array keys into these helpers can inject arbitrary SQL by crafting malicious keys, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:04Z"},"euvd":{"id":"EUVD-2026-30149","exploited":false,"provenance":"source"}}