GHSA-9f46-5r25-5wfm · Severity: critical · Ecosystem: composer — Time-of-check Time-of-use (TOCTOU) Race Condition in league/flysystem
Flysystem is an open source file storage library for PHP. The whitespace normalisation using in 1.x and 2.x removes any unicode whitespace. Under certain specific conditions this could potentially allow a malicious user to execute code remotely. The conditions are: A user is allowed to supply the path or filename of an uploaded file, the supplied path or filename is not checked against unicode chars, the supplied pathname checked against an extension deny-list, not an allow-list, the supplied path or filename contains a unicode whitespace char in the extension, the uploaded file is stored in a directory that allows PHP code to be executed. Given these conditions are met a user can upload and execute arbitrary code on the system under attack. The unicode whitespace removal has been replaced with a rejection (exception). For 1.x users, upgrade to 1.1.4. For 2.x users, upgrade to 2.1.1.
Conclusion & alert: CVE-2021-32708 is rated High Risk (66/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 3.49%). Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 7.33% | 3.49% | -3.84% |
| 2 | 2026-03-04 | 7.51% | 7.33% | -0.19% |
| 3 | 2026-03-01 | — | 7.51% | — |
Full EPSS history (51 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 8.1 | 3.1 | HIGH |
|
2.2 | 5.9 | [email protected] |
| 9.3 | 2.0 | HIGH |
|
8.6 | 10.0 | [email protected] |
GHSA-9f46-5r25-5wfm · Severity: critical · Ecosystem: composer — Time-of-check Time-of-use (TOCTOU) Race Condition in league/flysystem
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2021-32708 not yet assigned priority: Debian including 1 source packages (php-league-flysystem), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-32708 |
ubuntu
|
medium | CVE-2021-32708 medium priority: Ubuntu including 1 source packages (php-league-flysystem), 16 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 7, needs-triage 5, DNE 4. | https://ubuntu.com/security/CVE-2021-32708 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| thephpleague | flysystem | >= 1.0.0, < 1.1.4 | cpe:2.3:a:thephpleague:flysystem:*:*:*:*:*:*:*:* |
| thephpleague | flysystem | >= 2.0.0, < 2.1.1 | cpe:2.3:a:thephpleague:flysystem:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 33 | cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |