Vulnerability record · CVE-2021-24377 · published 21 June 2021
CVE-2021-24377: Autoptimize race condition vulnerability
Autoptimize · Autoptimize
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.
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:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://wpscan.com/vulnerability/85c0a564-2e56-413d-bc3a-1039343207e4 | ExploitThird Party Advisory |
| https://wpscan.com/vulnerability/85c0a564-2e56-413d-bc3a-1039343207e4 | ExploitThird Party Advisory |
Track CVE-2021-24377 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-24377), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.