CVE-2026-102601

Low

Description

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.

SeverityLow
CVSS3.5
Exploit probability27. percentile0.3%
ProductLeague/flysystem
PublishedSep 29, 2026
First seenSep 29, 2026
Weakness typeCWE-150CWE-150

How to fix

Update
  • league/flysystem3.35.3 or later

Affected products

ProductAffected versionsFixed in
league/flysystemPackagistv < 3.35.33.35.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.