Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. flightphp/core
  4. ›
  5. CVE-2026-42551

CVE-2026-42551: Flight: HTTP method override enabled by default, facilitating CSRF escalation and middleware bypass

May 6, 2026 (updated May 14, 2026)

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.

References

  • github.com/advisories/GHSA-vxrr-w42w-w76g
  • github.com/flightphp/core/commit/b8dd23aaa828cb289fa3c84e75b2a3717cab50b0
  • github.com/flightphp/core/releases/tag/v3.18.1
  • github.com/flightphp/core/security/advisories/GHSA-vxrr-w42w-w76g
  • nvd.nist.gov/vuln/detail/CVE-2026-42551

Code Behaviors & Features

Detect and mitigate CVE-2026-42551 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.18.1

Fixed versions

  • 3.18.1

Solution

Upgrade to version 3.18.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-436: Interpretation Conflict

Source file

packagist/flightphp/core/CVE-2026-42551.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:29 +0000.