Skip to content
skopnix

CVE-2021-42013 · Published 7 Oct 2021

Apache HTTP Server

On CISA's KEV list 27 days after disclosure; 47 public exploits.

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 required action (federal due date 17 Nov 2021): Apply updates per vendor instructions.

Signals

KEV, exploited in the wild
yes, added 3 Nov 2021, due 17 Nov 2021, known ransomware use
EPSS, 30-day forecast
100%, 100th percentile (as of 18 Nov 2026)
CVSS, NVD
not stated
Internet exposure
not stated

KEV is an observation, EPSS a forecast; KEV outranks it. No score published by NVD.

Timeline 6 Oct 2021 to today

21 days from the first proof of concept to the KEV listing
2023202420252026Metasploit 6 Oct 2021Disclosed 7 Oct 2021First PoC 13 Oct 2021KEV 3 Nov 2021today
  1. Metasploit
  2. Disclosed+1 d
  3. First PoC+6 d
  4. KEV+21 d

21 days from the first proof of concept to the KEV listing

Indicators none tied yet

No threat feed has tied an indicator to this CVE yet. Checked every six hours.

On the wire 0 dispatches

No dispatch on our wire has named this CVE yet.

Public exploit code 47 known · links only

GitHub PoCs 42Metasploit 2Exploit-DB 3

GitHub PoCs, by trust then stars42

  1. first seen by skopnix 18 Oct 2026

  2. first seen by skopnix 18 Oct 2026

  3. first seen by skopnix 18 Oct 2026

  4. first seen by skopnix 18 Oct 2026

  5. first seen by skopnix 18 Oct 2026

  6. first seen by skopnix 18 Oct 2026

  7. first seen by skopnix 18 Oct 2026

  8. first seen by skopnix 18 Oct 2026

Show 34 more
  1. first seen by skopnix 18 Oct 2026

  2. first seen by skopnix 18 Oct 2026

  3. first seen by skopnix 18 Oct 2026

  4. first seen by skopnix 18 Oct 2026

  5. first seen by skopnix 18 Oct 2026

  6. first seen by skopnix 18 Oct 2026

  7. first seen by skopnix 18 Oct 2026

  8. first seen by skopnix 18 Oct 2026

  9. first seen by skopnix 18 Oct 2026

  10. first seen by skopnix 18 Oct 2026

  11. first seen by skopnix 18 Oct 2026

  12. first seen by skopnix 18 Oct 2026

  13. first seen by skopnix 18 Oct 2026

  14. first seen by skopnix 18 Oct 2026

  15. first seen by skopnix 18 Oct 2026

  16. first seen by skopnix 18 Oct 2026

  17. first seen by skopnix 18 Oct 2026

  18. first seen by skopnix 18 Oct 2026

  19. first seen by skopnix 18 Oct 2026

  20. first seen by skopnix 18 Oct 2026

  21. first seen by skopnix 18 Oct 2026

  22. first seen by skopnix 18 Oct 2026

  23. first seen by skopnix 18 Oct 2026

  24. first seen by skopnix 18 Oct 2026

  25. first seen by skopnix 18 Oct 2026

  26. first seen by skopnix 18 Oct 2026

  27. first seen by skopnix 18 Oct 2026

  28. first seen by skopnix 18 Oct 2026

  29. first seen by skopnix 18 Oct 2026

  30. first seen by skopnix 18 Oct 2026

  31. first seen by skopnix 18 Oct 2026

  32. first seen by skopnix 18 Oct 2026

  33. first seen by skopnix 18 Oct 2026

  34. first seen by skopnix 18 Oct 2026

Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.

Metasploit2

  1. This module exploit an unauthenticated RCE vulnerability which exists in Apache version 2.4.49 (CVE-2021-41773). If files outside of the document root are not protected by 'require all denied' and CGI has been explicitly enabled, it can be used to execute arbitrary commands (Remote Command Execution). This vulnerability has been reintroduced in Apache 2.4.50 fix (CVE-2021-42013).

    ruby · first seen by skopnix 18 Oct 2026

  2. This module scans for an unauthenticated RCE vulnerability which exists in Apache version 2.4.49 (CVE-2021-41773). If files outside of the document root are not protected by 'require all denied' and CGI has been explicitly enabled, it can be used to execute arbitrary commands (Remote Command Execution). This vulnerability has been reintroduced in Apache 2.4.50 fix (CVE-2021-42013).

    ruby · first seen by skopnix 18 Oct 2026

Exploit-DB3

  1. created 13 Oct 2021

  2. created 25 Oct 2021

  3. created 11 Nov 2021

Nuclei detection templates1

  1. A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49 and 2.4.50. An attacker could use a path traversal attack to map URLs to files outside the expected document root. If files outside of the document root are not protected by "require all denied" these requests can succeed. Additionally, this flaw could leak the source of interpreted files like CGI scripts. In certain configurations, for instance if mod_cgi is enabled, this flaw can lead to remote code execution.

    yaml · first seen by skopnix 18 Oct 2026

A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.

References

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Telegram ↗KEV RSSAPIStack check