Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-42549
VULNERABILITY

CVE-2026-42549

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
4.4
Severity
MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Timeline

Published
May 13, 2026 20:16
Modified
Oct 26, 2026 14:10
Last observed
Oct 26, 2026 11:00

CWE

CWE-22

References