# CVE-2026-42551: Flight: HTTP method override enabled by default enables CSRF escalation and middleware bypass in flightphp/core

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-06T21:38:16.000Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-vxrr-w42w-w76g
- Weaknesses: CWE-436
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- flightphp core: < 3.18.1
- flightphp/core (Packagist): before 3.18.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/flightphp/core/security/advisories/GHSA-vxrr-w42w-w76g> (exploit, 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)

## Sources

- CVE List: [CVE-2026-42551](https://www.cve.org/CVERecord?id=CVE-2026-42551), CVE Terms of Use, modified 2026-05-14
- GitHub Advisory Database: [GHSA-vxrr-w42w-w76g](https://github.com/advisories/GHSA-vxrr-w42w-w76g), CC-BY-4.0, modified 2026-05-14
- NVD: [CVE-2026-42551](https://nvd.nist.gov/vuln/detail/CVE-2026-42551), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42551 · Whole record: https://cve.day/CVE-2026-42551.json · Rebuilt by cve.day 2026-11-25T22:59:21.657Z
