CVE-2026-102601thephpleague flysystem
Low 3.5
Follow: this CVE · thephpleague · thephpleague flysystem We alert you by email or Slack (account required).
- Priority
- 21
- CVSS 3.1
- 3.5
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 29, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-150
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
What happens
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
- Apply the vendor's security update for flysystem.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | league/flysystem |
< 3.35.3 |
3.35.3 |
composer require "league/flysystem:^3.35.3" |
Per OSV / GitHub Advisories (GHSA-cxf4-7mrp-vvpr). Check the version in your lockfile before upgrading.
Affected products
- thephpleague · flysystem
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.