CVE-2026-42550CWE-89

Flight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete

High · published May 13, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
43.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00518 · 43.2th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-05-13T19:22Z
EPSS history
Timeline
  • 13 MAY 19:22Z
    Flight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete
    cvelistv5