CVE-2026-42552
HighSummary
The Flight framework for PHP prior to version 3.18.1 has a vulnerability where the default error handler Engine::_error() exposes full exception details in the HTTP 500 response, including absolute filesystem paths.
Risk Assessment
Production deployments may leak internal paths and secrets, providing attackers with the means to exploit other weaknesses such as LFI or path traversal.
Recommendation
It is recommended to upgrade to version 3.18.1 or later to mitigate this vulnerability.
Other vulnerabilities in Flight framework for PHP
Original NVD description (English source)
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.

