CVE Tools

CVE-2026-42549

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

Published: May 13, 2026Updated: May 14, 2026 Sources: CVE List NVDCWE-22
4.4CVSSMEDIUM

Description

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.

CVSS Vector Breakdown

AV:LAC:LPR:LUI:NS:UC:NI:LA:L
Exploitability
AV:LAttack Vector
Local
AC:LAttack Complexity
Low
PR:LPrivileges Required
Low
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:NConfidentiality
None
I:LIntegrity
Low
A:LAvailability
Low

Weaknesses

Affected Products

flightphposs-projectOSS Librariesaka flight php, flightphp

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.

MITRE ATT&CK

2 techniques
Collection
Discovery
View detailed technique mapping

References

Timeline

Published
May 13, 2026
Last Updated
May 14, 2026

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-42549 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows