phpatch.com

← phpatch.com home

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

Low · CVSS 3.5 · fetched 2026-10-22

## Related public issue (context, not a duplicate) Closed issue #1429 ("Handle non-UTF-8 paths", 2024-03-24) raised exactly this general concern and even suggested detection via `preg_match('//u', $path) !== 1` -- note the reporter's suggested check explicitly compares `!== 1`, which *would* correctly treat PCRE's `false` return as "reject." The maintainer's reply pointed to the `PathNormalizer` interface as the place to implement this.

Our analysis

Who is affected

The source advisory enumerates the affected branches directly:

Exploitation status

Not KEV-listed in this record. In the source data for this record (retrieved 2026-10-22), the vulnerability was not listed in the CISA Known Exploited Vulnerabilities catalog. Read that narrowly: it means no catalogued exploitation at retrieval time, not that exploitation is impossible or unreported elsewhere.

Patch priority

Track it, and patch in the normal cycle. The drivers for this record: the source rates it Low; CVSS 3.5. Nothing in this record indicates urgency; keep it on the list and let the regular update cadence carry it.

How this verdict is derived: from the fields on this page — the source advisory's severity and CVSS score, CISA KEV listing status and the affected-branch data — as retrieved 2026-10-22. It is a triage aid, not a substitute for the source advisory.

Remediation

Upgrade league/flysystem to 3.35.3 or later.

Affected PHP branches

PHP 8.4 — fixed in 8.4.27 (patched release available)

Check your site

Source: GitHub Global Security Advisories (Composer ecosystem) · retrieved 2026-10-22T10:19:14-04:00 · https://github.com/advisories/GHSA-cxf4-7mrp-vvpr

← All threats