Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
flightphp core
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Flight是Mike Cao个人开发者的一个PHP微框架。 Flight 3.18.1之前版本存在安全漏洞,该漏洞源于Request::getMethod()无条件接受X-HTTP-Method-Override标头和$_REQUEST[ _method ]参数,可能导致CSRF升级、中间件绕过和缓存投毒。

CVSS 7.5 · High EPSS 0.41% · P33

Affected Version Matrix 1

VendorProduct Version RangeStatus
flightphp core < 3.18.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-42551

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Flight: HTTP method override enabled by default enables CSRF escalation and middleware bypass in flightphp/core
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
解释冲突
Source: CVE Program / CVE List V5
Vulnerability Title
Flight 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Flight是Mike Cao个人开发者的一个PHP微框架。 Flight 3.18.1之前版本存在安全漏洞,该漏洞源于Request::getMethod()无条件接受X-HTTP-Method-Override标头和$_REQUEST[ _method ]参数,可能导致CSRF升级、中间件绕过和缓存投毒。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
flightphp core < 3.18.1 -

II. Public POCs for CVE-2026-42551

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42551

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-42551 (1)

Same Patch Batch · flightphp · 2026-05-13 · 5 CVEs total

CVE-2026-42550 8.8 HIGH Flight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete
CVE-2026-42552 7.5 HIGH Flight: Sensitive information disclosure via default error handler in flightphp/core
CVE-2026-42549 4.4 MEDIUM Flight: Path traversal in `make:controller` CLI creates arbitrary directories outside proj
CVE-2026-42548 Flight: Reflected XSS via unvalidated JSONP callback in Flight::jsonp()

IV. Related Vulnerabilities

V. Comments for CVE-2026-42551

No comments yet


Leave a comment