CVE-2026-42550: Flight PHP Framework SQL Injection Vulnerability
The National Vulnerability Database has issued an advisory for CVE-2026-42550, impacting the Flight extensible micro-framework for PHP. Prior to version 3.18.1, the SimplePdo::insert(), SimplePdo::update(), and SimplePdo::delete() methods are vulnerable to SQL injection. These functions construct SQL statements by directly concatenating the $table argument and the keys of the $data array without proper identifier quoting or validation.
This flaw becomes critical when applications forward user-controlled data shapes to these helper functions, a common and documented pattern. An attacker can craft malicious array keys to inject arbitrary SQL, leading to severe data compromise. The National Vulnerability Database assigns this a CVSS score of 8.8 (HIGH), highlighting the significant risk of compromise, integrity loss, and availability impact (CWE-89).
Flight framework users are strongly advised to update to version 3.18.1 immediately. This patch addresses the underlying issue by correctly handling identifier quoting and input validation, mitigating the risk of SQL injection via crafted array keys. Failure to update leaves systems highly exposed to data manipulation and exfiltration.
What This Means For You
- If your applications utilize the Flight PHP micro-framework, you need to check your version immediately. Specifically, if you're using `SimplePdo::insert()`, `SimplePdo::update()`, or `SimplePdo::delete()` with user-controlled input, you are exposed to CVE-2026-42550. Patch to version 3.18.1 or later without delay. Review your codebase for instances where user input directly influences array keys passed to these database helpers.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-42550: Flight PHP Framework SQL Injection via Malicious Array Keys
title: CVE-2026-42550: Flight PHP Framework SQL Injection via Malicious Array Keys
id: scw-2026-05-13-ai-1
status: experimental
level: critical
description: |
Detects potential SQL injection attempts targeting the Flight PHP Framework by looking for common SQL injection patterns within the query string. This specifically targets the vulnerability where user-controlled data shapes are forwarded to SimplePdo::insert(), SimplePdo::update(), and SimplePdo::delete() without proper validation, allowing attackers to inject arbitrary SQL via crafted array keys.
author: SCW Feed Engine (AI-generated)
date: 2026-05-13
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-42550/
tags:
- attack.initial_access
- attack.t1190
logsource:
category: webserver
detection:
selection:
cs-uri-query|contains:
- "' OR 1=1 --"
- "' UNION SELECT"
- "' AND "
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-42550 | SQLi | Flight PHP micro-framework versions prior to 3.18.1 |
| CVE-2026-42550 | SQLi | Flight PHP SimplePdo::insert() function |
| CVE-2026-42550 | SQLi | Flight PHP SimplePdo::update() function |
| CVE-2026-42550 | SQLi | Flight PHP SimplePdo::delete() function |
| CVE-2026-42550 | SQLi | SQL injection via malicious array keys in user-controlled data passed to SimplePdo methods |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | May 13, 2026 at 23:16 UTC |
This content was AI-rewritten and enriched by Shimi's Cyber World based on the original source. All intellectual property rights remain with the original author.
Believe this infringes your rights? Submit a takedown request.