{"id":"CVE-2026-102601","summary":"Flysystem: WhitespacePathNormalizer's control-character (CorruptedPathDetected) check is bypassed by malformed UTF-8 in the path, affecting every adapter","details":"Flysystem is an open source file storage library for PHP. Prior to 3.35.3, the default WhitespacePathNormalizer in src/WhitespacePathNormalizer.php used by Filesystem across adapters calls preg_match with the u modifier and treats both false and 0 as falsy. A path containing malformed UTF-8 causes PCRE to return false, so paths that also contain control characters bypass CorruptedPathDetected::forPath() in normalizePath(). Filesystem::write() can store such names and Filesystem::listContents() can return the raw ANSI escape sequences, allowing hidden or spoofed terminal file listings when an administrator displays them. This issue is fixed in version 3.35.3.","aliases":["GHSA-cxf4-7mrp-vvpr"],"modified":"2026-09-30T03:45:49.869498045Z","published":"2026-09-29T15:26:42.044Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102601.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-150"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102601.json"},{"type":"FIX","url":"https://github.com/thephpleague/flysystem/commit/ef4a9a557d769b5d472c403125716706a0d9cc77"},{"type":"WEB","url":"https://github.com/thephpleague/flysystem/releases/tag/3.35.3"},{"type":"ADVISORY","url":"https://github.com/thephpleague/flysystem/security/advisories/GHSA-cxf4-7mrp-vvpr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102601"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/thephpleague/flysystem","events":[{"introduced":"0"},{"fixed":"5fc8404762179ae514678487b23494fd69b2309c"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"3.35.3"}]}}],"versions":["3.35.2","3.35.1","3.35.0","3.34.0","3.33.0","3.32.0","3.31.0","3.30.2","3.30.1","3.30.0","3.29.1","3.29.0","3.28.0","3.27.0","3.26.0","3.25.1","3.25.0","3.24.0","3.23.1","3.23.0","3.22.0","3.20.0","3.19.0","3.18.0","3.17.0","3.16.0","3.15.1","3.15.0","3.14.0","3.13.0","3.12.3","3.12.2","3.12.1","3.12.0","3.11.0","3.10.4","3.10.3","3.10.2","3.10.1","3.10.0","3.9.0","3.8.0","3.7.0","3.6.0","3.5.2","3.5.1","3.5.0","3.4.0","3.3.0","3.2.1","3.2.0","3.1.1","3.0.19","3.1.0","3.0.23","3.0.22","3.0.21","3.0.20","3.0.18","3.0.17","3.0.16","3.0.15","3.0.14","3.0.13","3.0.12","3.0.11","3.0.10","3.0.9","3.0.8","3.0.7","3.0.6","3.0.5","3.0.4","3.0.3","3.0.2","3.0.1","3.0.0","2.4.0","2.3.2","2.3.1","2.3.0","2.2.3","2.2.2","2.2.1","2.2.0","2.1.1","2.1.0","2.0.8","2.0.7","2.0.6","2.0.5","2.0.4","2.0.3","2.0.2","2.0.1","2.0.0","2.0.0-RC1","2.0.0-beta.3","2.0.0-beta.2","2.0.0-beta.1","2.0.0-alpha.4","2.0.0-alpha.3","2.0.0-alpha.2","2.0.0-alpha.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102601.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"}]}