CVE-2026-42551

High

Description

Flight is an extensible micro-framework for PHP. Prior to 3.18.1, Request::getMethod() unconditionally honors the X-HTTP-Method-Override header and the $_REQUEST['_method'] parameter on any HTTP verb (including safe verbs such as GET), with no opt-in and no whitelist of permitted target methods. A GET request can silently become a DELETE or PUT, enabling CSRF escalation against destructive endpoints, bypass of middleware gated on unsafe verbs, and cache poisoning between CDN and origin. This vulnerability is fixed in 3.18.1.

SeverityHigh
CVSS7.5
Exploit probability—
ProductFlightphp/core
PublishedMay 13, 2026
First seenMay 13, 2026
Weakness typeCWE-436CWE-436

How to fix

Update
  • flightphp/core3.18.1 or later

Affected products

ProductAffected versionsFixed in
flightphp/corePackagistv < 3.18.13.18.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.