{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42549","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-04-28T16:56:50.191Z","datePublished":"2026-05-13T19:22:20.932Z","dateUpdated":"2026-05-14T19:52:29.945Z"},"containers":{"cna":{"title":"Flight: Path traversal in `make:controller` CLI creates arbitrary directories outside project root","problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"}}],"references":[{"name":"https://github.com/flightphp/core/security/advisories/GHSA-3xjv-pmf2-gf2q","tags":["x_refsource_CONFIRM"],"url":"https://github.com/flightphp/core/security/advisories/GHSA-3xjv-pmf2-gf2q"}],"affected":[{"vendor":"flightphp","product":"core","versions":[{"version":"< 3.18.1","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-05-13T19:22:20.932Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-3xjv-pmf2-gf2q","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/flightphp/core/security/advisories/GHSA-3xjv-pmf2-gf2q","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-14T19:05:05.835731Z","id":"CVE-2026-42549","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-05-14T19:52:29.945Z"}}]}}