CVE-2021-24377: Autoptimize < 2.7.8 - Race Condition leading to RCE
Vulnerability summary
CVE-2021-24377 is a high (CVSS 8.1) vulnerability in autoptimize. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 68.7% of scored vulnerabilities. 1 public exploit is recorded. Fixed in 2.7.8.
Public exploit (reference, Date unknown)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 21-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
The Autoptimize WordPress plugin before 2.7.8 attempts to remove potential malicious files from the extracted archive uploaded via the 'Import Settings' feature, however this is not sufficient to protect against RCE as a race condition can be achieved in between the moment the file is extracted on the disk but not yet removed. It is a bypass of CVE-2020-24948.
CVSS metrics
3 scores · 2 sources · 2 versions- wordfenceSource8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.18%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.18% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Autoptimize1 product
- autoptimize< 2.7.8
Unknown1 product
- autoptimize≥ 2.7.8, < 2.7.8
Wordpress1 product
- autoptimize< 2.7.8
3 vendors · 3 products
References
2 links- wpscan.com/vulnerability/85c0a564-2e56-413d-bc3a-1039343207e4X Refsource CONFIRMExploitThird Party Advisory