Flight: HTTP method override enabled by default enables CSRF escalation and middleware bypass in flightphp/core
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| flightphp | core | before 3.18.1 | 3.18.1 | Patch available | CNA |
| — | flightphp/core (Packagist) | before 3.18.1 | 3.18.1 | Patch available | GHSA-vxrr-w42w-w76g |
- core Vendorflightphp Affected before 3.18.1 Fixed in 3.18.1 Patch available CNA
- flightphp/core (Packagist) Vendor— Affected before 3.18.1 Fixed in 3.18.1 Patch available GHSA-vxrr-w42w-w76g
Remediation
- Fix · CNA core (flightphp) Fixed in 3.18.1
- Fix · GHSA-vxrr-w42w-w76g flightphp/core (Packagist) Fixed in 3.18.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42551
- 2026-10-03 Alias added: GHSA-vxrr-w42w-w76g
References
More flightphp vulnerabilities
- TI-2026-30828 Flight: Reflected XSS via unvalidated JSONP callback in Flight::jsonp() CVSS 4.0HIGH 8.6
- TI-2026-30830 Flight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete CVSS 3.1HIGH 8.8
- TI-2026-30832 Flight: Sensitive information disclosure via default error handler in flightphp/core CVSS 3.1HIGH 7.5
- TI-2014-08426 Denial of Service (DoS) vulnerability in mikecao/flight CVSS 3.1HIGH 7.5
- TI-2026-30829 Flight: Path traversal in `make:controller` CLI creates arbitrary directories outside project root CVSS 3.1MEDIUM 4.4
Sources
- CVE-2026-42551 · CVE Program
- CVE-2026-42551 · NVD
- FIRST EPSS
- GHSA-vxrr-w42w-w76g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences