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.
Published: 2026-05-13
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

FlightPHP Core's default error handling routine logs full exception details, including absolute file paths and stack trace, directly to the HTTP 500 response without any debug gating. This unconditionally leaks internal file paths, secrets that may have been interpolated into exception messages, and the overall module structure to an attacker, providing useful information that could facilitate further attacks such as local file inclusion or path traversal.

Affected Systems

The affected component is FlightPHP Core for all versions prior to 3.18.1. The vulnerability is present in any environment running those versions, regardless of deployment configuration.

Risk and Exploitability

The CVSS base score of 7.5 indicates a high severity. Without a specified EPSS, the exploitation probability is uncertain but the vulnerability is not yet listed in CISA KEV, meaning no known widespread public exploitation. An attacker can exploit this weakness by triggering an exception in the application on a publicly reachable endpoint; because the error handler emits the sensitive data unconditionally, the attack vector is direct application-level interaction. Once the sensitive information is exposed, an attacker can leverage it to craft more targeted exploitation campaigns, increasing the overall risk.

Generated by OpenCVE AI on May 13, 2026 at 21:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update FlightPHP Core to version 3.18.1 or later.
  • If an upgrade cannot be performed immediately, configure the application to suppress detailed error information in HTTP responses, for example by replacing the default error handler with a custom implementation that logs errors silently or contacts an external logging service.
  • Review application code to ensure that exception messages do not contain sensitive data or secret variables and that input validation is enforced to reduce the likelihood of accidental disclosure.

Generated by OpenCVE AI on May 13, 2026 at 21:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-qrch-52m5-vv85 Flight vulnerable to sensitive information disclosure via default error handler
History

Fri, 15 May 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 14 May 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Flightphp
Flightphp core
Vendors & Products Flightphp
Flightphp core

Wed, 13 May 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title Flight: Sensitive information disclosure via default error handler in flightphp/core
Weaknesses CWE-209
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-15T18:49:21.316Z

Reserved: 2026-04-28T16:56:50.191Z

Link: CVE-2026-42552

cve-icon Vulnrichment

Updated: 2026-05-15T18:47:53.468Z

cve-icon NVD

Status : Deferred

Published: 2026-05-13T20:16:22.323

Modified: 2026-05-15T19:16:58.507

Link: CVE-2026-42552

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-14T14:33:36Z

Weaknesses