PT-2026-38274 · Flight · Flight

Published

2026-05-06

·

Updated

2026-05-13

·

CVE-2026-42552

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Flight versions prior to 3.18.1
Description 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 without debug gating. This leads to the disclosure of internal paths, secrets interpolated into exception messages, and the full module structure. Such information can be used to facilitate other attacks, such as Local File Inclusion (LFI) or path traversal.
Recommendations Update to version 3.18.1. As a temporary workaround, restrict access to the Engine:: error() function or implement custom error handling to prevent verbose output in production environments.

Exploit

Fix

Generation of Error Message Containing Sensitive Information

Weakness Enumeration

Related Identifiers

CVE-2026-42552
GHSA-QRCH-52M5-VV85

Affected Products

Flight