CVE-2026-42551
published high CVSS 3.1 · 7.5Flight: HTTP method override enabled by default enables CSRF escalation and middleware bypass in flightphp/core
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| flightphp | — | core< 3.18.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| flightphp | core | < 3.18.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-436 CWE-436: Interpretation Conflict
References
1Provider assertions
2GitHub_M · cna
Flight: HTTP method override enabled by default enables CSRF escalation and middleware bypass in flightphp/core
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 48e1abb519a03b7ed0825eb678d41723ccbbc95d537b3866227c1b74fb2b83da
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record