{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.18.1"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b8dd23aaa828cb289fa3c84e75b2a3717cab50b0"
            }
          ],
          "repo": "https://github.com/flightphp/core",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xwqr-rcqg-22mr"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42550.json"
  },
  "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-\u003einsert('users', $request-\u003edata-\u003egetData()) — an attacker can inject arbitrary SQL by crafting malicious array keys. This vulnerability is fixed in 3.18.1.",
  "id": "CVE-2026-42550",
  "modified": "2026-07-15T01:49:01.002494545Z",
  "published": "2026-05-13T19:22:53.297Z",
  "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"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Flight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete"
}