Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 68%

CVE-2026-42550: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in flightphp core

0
High
VulnerabilityCVE-2026-42550cvecve-2026-42550cwe-89
Published: 05/13/2026 (05/13/2026, 19:22:53 UTC)
Source: CVE Database V5
Vendor/Project: flightphp
Product: core

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, 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.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Packagistmore threats →ai
flightphp/core
pkg:composer/flightphp/core
Affected versions
<3.18.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/21/2026, 12:19:45 UTC

Technical Analysis

FlightPHP is a PHP micro-framework whose SimplePdo class methods insert(), update(), and delete() build SQL queries by concatenating the $table argument and keys from the $data array without proper identifier quoting or validation. When user-controlled data is passed to these methods, an attacker can exploit this to perform SQL injection by crafting malicious array keys. This vulnerability affects all versions before 3.18.1 and is resolved in 3.18.1.

Potential Impact

Successful exploitation allows an attacker with limited privileges (PR:L) and no user interaction to execute arbitrary SQL commands, potentially leading to full confidentiality, integrity, and availability compromise of the affected database. The vulnerability has a high impact on confidentiality, integrity, and availability as indicated by the CVSS vector.

Mitigation Recommendations

Upgrade FlightPHP core to version 3.18.1 or later, where this SQL injection vulnerability is fixed. There is no indication of alternative mitigations or temporary workarounds. Patch status is not explicitly stated but the fix is available in version 3.18.1.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-28T16:56:50.191Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a04d644cbff5d861003f1f8

Added to database: 05/13/2026, 19:51:32 UTC

Last enriched: 05/21/2026, 12:19:45 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 57

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses