{"id":"CVE-2026-42551","published":"2026-05-13T19:23:27Z","modified":"2026-05-14T12:49:48Z","title":"Flight: HTTP method override enabled by default enables CSRF escalation and middleware bypass in flightphp/core","vendor":"flightphp","product":"core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00409,"percentile":0.26738,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://github.com/flightphp/core/security/advisories/GHSA-vxrr-w42w-w76g","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":5.35},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"flightphp","affectedVersions":[{"vendor":"flightphp","product":"core","versions":["< 3.18.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-14T12:49:44.246541Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"flightphp/core","vulnerableRanges":["<3.18.1"],"patched":["3.18.1"],"from":["GHSA-vxrr-w42w-w76g"],"provenance":"source"}],"summary":{"text":"The Flight PHP micro-framework's core library (flightphp/core) prior to 3.18.1 has a flaw in Request::getMethod(), which always honors the X-HTTP-Method-Override header and the _method request parameter regardless of the HTTP verb used, with no opt-in or restriction on target methods. An unauthenticated remote attacker can exploit this over the network without user interaction to make a GET request behave as a DELETE or PUT, enabling CSRF-style escalation against destructive endpoints, bypass of middleware that gates unsafe verbs, and cache poisoning between a CDN and origin.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:36Z"},"euvd":{"id":"EUVD-2026-30150","exploited":false,"provenance":"source"}}