# CVE-2026-102601: Flysystem: WhitespacePathNormalizer's control-character (CorruptedPathDetected) check is bypassed by malformed UTF-8 in the path, affecting every adapter

> Attackers can bypass path normalization checks using malformed UTF-8 to store files with hidden control characters, potentially spoofing terminal listings.

- **Severity:** Low 3.5 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 29 Sep 2026
- **Updated:** 29 Sep 2026
- **Also known as:** CLSA-2026-1790868478, CLSA-2026-1791742369, CLSA-2026-1791742447, DEBIAN-CVE-2026-102601, GHSA-cxf4-7mrp-vvpr, UBUNTU-CVE-2026-102601

## What is CVE-2026-102601?

CVE-2026-102601 is a low-severity path traversal vulnerability in thephpleague flysystem, published on 29 Sep 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

### Official 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.

Weakness: CWE-150 (Improper Neutralization of Escape, Meta, or Control Sequences)

## Which versions are affected by CVE-2026-102601?

2 open source packages ship an affected version, including league/flysystem.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `league/flysystem` | Packagist | All versions | 3.35.3 |
| `league/flysystem` | Packagist | All versions | 3.35.3 |

## How do I fix CVE-2026-102601?

Upgrade league/flysystem to 3.35.3 or later.

## Is CVE-2026-102601 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-102601 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-102601 and fix it if it is affected.

What it is: CVE-2026-102601 is a low-severity path traversal vulnerability in thephpleague flysystem, published on 29 Sep 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-102601 exists.

Affected packages and fixed versions:
- league/flysystem (Packagist): affected all versions; fixed in 3.35.3
- league/flysystem (Packagist): affected all versions; fixed in 3.35.3

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-102601/ (Markdown: https://insights.sbomify.com/CVE-2026-102601/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-102601
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-102601
- OSV: https://osv.dev/vulnerability/CVE-2026-102601

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-102601/
Summaries are generated and may contain mistakes; the official description above is the record.
