๐Ÿ” CVE Alert

CVE-2026-42549

MEDIUM 4.4

Flight: Path traversal in `make:controller` CLI creates arbitrary directories outside project root

CVSS Score
4.4
EPSS Score
0.0%
EPSS Percentile
0th

Flight is an extensible micro-framework for PHP. Prior to 3.18.1, the make:controller CLI command calls mkdir(..., recursive: true) on a path built from the user-supplied controller name, before Nette's class-name validation runs. The class-file write is correctly rejected by Nette when the name contains /, but the recursive directory creation side effect is already committed โ€” including directories located outside the project root through ../ traversal. This vulnerability is fixed in 3.18.1.

CWE CWE-22
Vendor flightphp
Product core
Published May 13, 2026
Stay Ahead of the Next One

Get instant alerts for flightphp core

Be the first to know when new medium vulnerabilities affecting flightphp core are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Affected Versions

flightphp / core
< 3.18.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/flightphp/core/security/advisories/GHSA-3xjv-pmf2-gf2q