CVEBrief

Home / Apache Software Foundation / Apache HTTP Server / CVE-2021-42013

CVE-2021-42013: is it exploited, and which versions of Apache Software Foundation Apache HTTP Server are affected and fixed?

CVE-2021-42013 is a path traversal (reading or writing files outside the intended folder) vulnerability in Apache Software Foundation Apache HTTP Server, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 3, 2021, with a federal due date of November 17, 2021. Affected: Apache HTTP Server Apache HTTP Server 2.4.49 and Apache HTTP Server Apache HTTP Server 2.4.50 (CVE record by apache). Fixed in 9.2.6.0 and 18.1.0.1.0 (NVD). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:54 UTC.

Exploited in the wild
Yes, CISA KEV
added November 3, 2021, due November 17, 2021, used in ransomware
Affected
Apache HTTP Server Apache HTTP Server 2.4.49 and Apache HTTP Server Apache HTTP Server 2.4.50
CVE record by apache
Fixed in
9.2.6.0 and 18.1.0.1.0
NVD
Severity
Critical 9.8
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
100.0% in 30 days
higher than 100% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-42013?

Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)

It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue only affects Apache 2.4.49 and Apache 2.4.50 and not earlier versions.

From the CVE record by apache, last updated October 21, 2025, 23:25 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache HTTP ServerApache HTTP Server 2.4.49
Apache HTTP Server 2.4.50

As the CVE record by apache states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
apachehttp server2.4.49application
apachehttp server2.4.50application
fedoraprojectfedora34operating system
fedoraprojectfedora35operating system
oracleinstantis enterprisetrack17.1application
oracleinstantis enterprisetrack17.2application
oracleinstantis enterprisetrack17.3application
oraclejd edwards enterpriseone toolsbefore 9.2.6.0application
oraclesecure backupbefore 18.1.0.1.0application
netappcloud backupall versionsapplication

NVD analysis (status Analyzed), last modified June 17, 2026, 04:09 UTC.

How severe is CVE-2021-42013?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-42013 exploited in the wild?

CISA KEV
Listed as Apache HTTP Server Path Traversal Vulnerability, added November 3, 2021; federal agencies must act by November 17, 2021
Required action
Apply updates per vendor instructions.
Ransomware use
Known
CISA's summary
Apache HTTP Server contains a path traversal vulnerability that allows an attacker to perform remote code execution if files outside directories configured by Alias-like directives are not under default require all denied or if CGI scripts are enabled. This CVE ID resolves an incomplete patch for CVE-2021-41773.
CISA SSVC
Exploitation: active; automatable: yes; technical impact: total (CISA ADP, February 4, 2025)
EPSS
100.0% probability of exploitation activity in the next 30 days, percentile 100.0 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
October 6, 2021
Published
October 7, 2021, 15:50 UTC
CVE record updated
October 21, 2025, 23:25 UTC by apache
NVD
Analyzed, last modified June 17, 2026, 04:09 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:54 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect Apache HTTP Server?

Every CVE in Apache HTTP Server

Questions about CVE-2021-42013

Is CVE-2021-42013 exploited in the wild?

Yes. CISA added CVE-2021-42013 to its Known Exploited Vulnerabilities catalog on November 3, 2021 and set federal agencies a due date of November 17, 2021. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 100.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Apache Software Foundation Apache HTTP Server are affected by CVE-2021-42013?

Apache HTTP Server Apache HTTP Server 2.4.49 and Apache HTTP Server Apache HTTP Server 2.4.50, per the CVE record by apache. The tables above give every range the sources list.

Which version fixes CVE-2021-42013?

9.2.6.0 and 18.1.0.1.0, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-42013?

Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2021-42013?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.