CVE-2026-102601
Flysystem is an open source file storage library for PHP. Prior to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/thephpleague/flysystem/commit/ef4a9a557d769b5d472c403125716706a0d9cc77
- github.com/thephpleague/flysystem/releases/tag/3.35.3
- github.com/thephpleague/flysystem/security/advisories/GHSA-cxf4-7mrp-vvpr
- github.com/advisories/GHSA-cxf4-7mrp-vvpr
- nvd.nist.gov/vuln/detail/CVE-2026-102601
- nvd.nist.gov/vuln/detail/CVE-2026-102601
- cve.org/CVERecord?id=CVE-2026-102601
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.