{"id":"CVE-2026-42551","state":"PUBLISHED","title":"Flight: HTTP method override enabled by default enables CSRF escalation and middleware bypass in flightphp/core","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.","publishedAt":"2026-05-13T19:23:27.314Z","updatedAt":"2026-05-14T12:49:48.236Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["flightphp core"],"affected":[{"vendor":"flightphp","product":"core","versions":[{"version":"< 3.18.1","status":"affected"}]}],"references":["https://github.com/flightphp/core/security/advisories/GHSA-vxrr-w42w-w76g"],"weaknesses":["CWE-436"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42551.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42551","state":"PUBLISHED","datePublished":"2026-05-13T19:23:27.314Z","dateUpdated":"2026-05-14T12:49:48.236Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-28T16:56:50.191Z"},"containers":{"cna":{"title":"Flight: HTTP method override enabled by default enables CSRF escalation and middleware bypass in flightphp/core","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"flightphp","product":"core","versions":[{"version":"< 3.18.1","status":"affected"}]}],"references":[{"url":"https://github.com/flightphp/core/security/advisories/GHSA-vxrr-w42w-w76g","name":"https://github.com/flightphp/core/security/advisories/GHSA-vxrr-w42w-w76g","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-436","lang":"en","description":"CWE-436: Interpretation Conflict","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-13T19:23:27.314Z"},"source":{"advisory":"GHSA-vxrr-w42w-w76g","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/flightphp/core/security/advisories/GHSA-vxrr-w42w-w76g","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-14T12:49:44.246541Z","id":"CVE-2026-42551","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-14T12:49:48.236Z"}}]}}}