{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42550","id":"CVE-2026-42550","title":"Flight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete","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","descriptionLong":"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","updated":"2026-10-28T02:31:03.362428521Z","reserved":"2026-04-28T16:56:50.191Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["flightphp core"],"affectedProducts":[{"vendor":"flightphp","product":"core","defaultStatus":null,"versions":[{"version":"< 3.18.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"flightphp/core","purl":"pkg:composer/flightphp/core","ranges":["<3.18.1"],"fixed":["3.18.1"],"advisory":"GHSA-xwqr-rcqg-22mr"}],"cwes":["CWE-89"],"aliases":["GHSA-xwqr-rcqg-22mr"],"references":[{"url":"https://github.com/flightphp/core/security/advisories/GHSA-xwqr-rcqg-22mr","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42550.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42550","tags":["advisory"]},{"url":"https://github.com/flightphp/core/commit/b8dd23aaa828cb289fa3c84e75b2a3717cab50b0","tags":["web"]},{"url":"https://github.com/flightphp/core","tags":["package"]},{"url":"https://github.com/flightphp/core/releases/tag/v3.18.1","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00455,"epssPercentile":0.40202,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42550","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42550","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42550","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xwqr-rcqg-22mr","ok":true,"note":"GHSA-xwqr-rcqg-22mr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42550","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}