CVE-2026-42551
HIGH 7.5CVSS 3.1Flight: HTTP method override enabled by default, facilitating CSRF escalation and middleware bypass
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.
- Published
- 13 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-436
- Also known as
- GHSA-vxrr-w42w-w76g
- Sources
- NVDJSONOSV GHSA-vxrr-w42w-w76gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | flightphp/core | < 3.18.1 | 3.18.1 |
References
- https://github.com/flightphp/core/security/advisories/GHSA-vxrr-w42w-w76g · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42551 · ADVISORY
- https://github.com/flightphp/core/commit/b8dd23aaa828cb289fa3c84e75b2a3717cab50b0 · WEB
- https://github.com/flightphp/core · PACKAGE
- https://github.com/flightphp/core/releases/tag/v3.18.1 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 May 2026)