Live threats

All CVEs / flightphp

CVE-2026-42549flightphp core

Medium 4.4

Priority
26
CVSS 3.1
4.4
EPSS
—
Auth required
Yes
Published
May 13, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for core.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist flightphp/core < 3.18.1 3.18.1 composer require "flightphp/core:^3.18.1"

Per OSV / GitHub Advisories (GHSA-3xjv-pmf2-gf2q). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.