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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 7.5 · High EPSS 0.03% · P8

Affected Version Matrix 1

VendorProductVersion RangeStatus
flightphpcore< 3.18.1affected
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
解释冲突
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
flightphpcore < 3.18.1 -

II. Public POCs for CVE-2026-42551

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42551

登录查看更多情报信息。

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

CVE-2026-425508.8 HIGHFlight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete
CVE-2026-425527.5 HIGHFlight: Sensitive information disclosure via default error handler in flightphp/core
CVE-2026-425494.4 MEDIUMFlight: Path traversal in `make:controller` CLI creates arbitrary directories outside proj
CVE-2026-42548Flight: Reflected XSS via unvalidated JSONP callback in Flight::jsonp()

IV. Related Vulnerabilities

V. Comments for CVE-2026-42551

No comments yet


Leave a comment