Flight: Path traversal in `make:controller` CLI creates arbitrary directories outside project root
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| flightphp | core | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Flightphp | Core |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-3xjv-pmf2-gf2q | Flight has path traversal in `make:controller` CLI that creates arbitrary directories outside project root |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.204% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Flightphp
Flightphp core |
|
| Vendors & Products |
Flightphp
Flightphp core |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Flight: Path traversal in `make:controller` CLI creates arbitrary directories outside project root | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|