CVE-2026-42552: CWE-209: Generation of Error Message Containing Sensitive Information in flightphp core
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.
AI Analysis
Technical Summary
CVE-2026-42552 is a CWE-209 vulnerability in FlightPHP core before version 3.18.1. The default error handler Engine::_error() outputs detailed exception data including messages, codes, stack traces, and absolute filesystem paths directly in HTTP 500 responses without restricting debug information. This leakage of internal paths and secrets can provide attackers with information useful for chaining further attacks such as local file inclusion and path traversal. The vulnerability has a CVSS 3.1 score of 7.5 (high severity) and is resolved in FlightPHP version 3.18.1.
Potential Impact
Exploitation of this vulnerability results in the disclosure of sensitive internal information such as filesystem paths, exception messages, and module structure in HTTP error responses. This information leakage can facilitate attackers in identifying and exploiting other vulnerabilities like local file inclusion and path traversal. There is no indication of direct code execution or data modification from this vulnerability alone.
Mitigation Recommendations
Upgrade FlightPHP core to version 3.18.1 or later, where this vulnerability is fixed. Since the vulnerability is resolved in this official release, applying this update will prevent sensitive information leakage through error messages. No other specific mitigations are indicated.
CVE-2026-42552: CWE-209: Generation of Error Message Containing Sensitive Information in flightphp core
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.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42552 is a CWE-209 vulnerability in FlightPHP core before version 3.18.1. The default error handler Engine::_error() outputs detailed exception data including messages, codes, stack traces, and absolute filesystem paths directly in HTTP 500 responses without restricting debug information. This leakage of internal paths and secrets can provide attackers with information useful for chaining further attacks such as local file inclusion and path traversal. The vulnerability has a CVSS 3.1 score of 7.5 (high severity) and is resolved in FlightPHP version 3.18.1.
Potential Impact
Exploitation of this vulnerability results in the disclosure of sensitive internal information such as filesystem paths, exception messages, and module structure in HTTP error responses. This information leakage can facilitate attackers in identifying and exploiting other vulnerabilities like local file inclusion and path traversal. There is no indication of direct code execution or data modification from this vulnerability alone.
Mitigation Recommendations
Upgrade FlightPHP core to version 3.18.1 or later, where this vulnerability is fixed. Since the vulnerability is resolved in this official release, applying this update will prevent sensitive information leakage through error messages. No other specific mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-28T16:56:50.191Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a04d644cbff5d861003f1fe
Added to database: 05/13/2026, 19:51:32 UTC
Last enriched: 05/21/2026, 12:01:17 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 72
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.