← Vulnerability feed

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.

8.1 CVSS 3.1 High EPSS 1.2% · top 33.5% CWE-362 · Race condition
8.1CVSS 3.1 base score, v2 6.8
1.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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

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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-24376Autoptimize unrestricted file upload vulnerabilityThe Autoptimize WordPress plugin before 2.7.8 attempts to delete malicious files (such as .php) form the uploaded archive via the "Import Settings" f…EPSS 3.7%7.2CVE-2020-24948Autoptimize unrestricted file upload vulnerabilityThe ao_ccss_import AJAX call in Autoptimize Wordpress Plugin 2.7.6 does not ensure that the file provided is a legitimate Zip file, allowing high pri…EPSS 13%4.8CVE-2023-2113Autoptimize vulnerabilityThe Autoptimize WordPress plugin before 3.1.7 does not sanitise and escape the settings imported from a previous export, allowing high privileged use…EPSS 0.47%4.8CVE-2022-2635Autoptimize cross-site scripting vulnerabilityThe Autoptimize WordPress plugin before 3.1.1 does not sanitise and escape some of its settings, which could allow high privilege users such as admin…EPSS 0.63%4.8CVE-2021-24378Autoptimize cross-site scripting vulnerabilityThe Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in the archive uploaded via the 'Import Settings' feat…EPSS 0.62%4.8CVE-2021-24332Autoptimize cross-site scripting vulnerabilityThe Autoptimize WordPress plugin before 2.8.4 was missing proper escaping and sanitisation in some of its settings, allowing high privilege users to …EPSS 0.63%5.5CVE-2025-39964Linux kernel af_alg race condition allows concurrent socket writesThe Linux kernel's af_alg crypto socket implementation did not prevent two concurrent writes to the same socket, allowing data to be interleaved unpr…KEVEPSS 1.00%analysed7.0CVE-2025-62215Windows Kernel race condition and double free privilege escalationA race condition combined with a double free in the Windows Kernel lets a locally authenticated attacker corrupt kernel memory and elevate privileges…KEVEPSS 6.0%analysed

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.