CVE-2026-42552 Details
Description
Flight is an extensible micro-framework for PHP. Prior to 3.18.1, the default error handler Engine::_error() writes the full exception message, exception code, and stack trace (including absolute filesystem paths) directly into the HTTP 500 response, with no debug gating. Production deployments leak internal paths, any secret interpolated into an exception message, and full module structure — giving attackers primitives for chaining other weaknesses (LFI, path traversal). This vulnerability is fixed in 3.18.1.
A vulnerability exists in Flight PHP versions prior to 3.18.1, where the default error handler, Engine::_error(), exposes sensitive information by writing the complete exception message, code, and stack trace, including absolute filesystem paths, directly into the HTTP 500 response. This lack of debug gating in production environments can leak internal paths, secrets embedded in exception messages, and the full module structure, potentially allowing attackers to exploit other vulnerabilities such as local file inclusion or path traversal. The issue is fixed in Flight PHP version 3.18.1.
Users can upgrade to Flight PHP version 3.18.1 or later, where this vulnerability has been fixed. In version 3.18.1, a new 'flight.debug' setting has been introduced to control the verbosity of error messages. In production environments, this setting should be kept false to prevent sensitive information from being disclosed. Developers can set 'flight.debug' to true in local environments to restore the full exception details.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 13, 2026CISA-ADP
Assessed May 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/flightphp/core/security/advisories/GHSA-qrch-52m5-vv85 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/flightphp/core/security/advisories/GHSA-qrch-52m5-vv85 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-209 | Generation of Error Message Containing Sensitive Information | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Flight | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 15, 2026 | CVE Modified | CISA-ADP |
| May 13, 2026 | New CVE Received | [email protected] |
Volerion