CVE-2026-42549: Flight has path traversal in `make:controller` CLI that creates arbitrary directories outside project root
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.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-42549 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →