CVE-2021-41773: Path Traversal and Conditional RCE in Apache HTTP Server 2.4.49
- Vendors
- Apache Software FoundationNetAppFedora ProjectOracle Corporation
CVE-2021-41773 is a path traversal vulnerability introduced by a path normalization change in Apache HTTP Server 2.4.49. Improper handling of URL-encoded dot characters allows crafted requests to access files outside directories configured by Alias-like directives when those files lack effective access restrictions. If CGI execution is enabled for the affected aliased paths, exploitation can also permit remote code execution. The vulnerability has been exploited in the wild. Versions earlier than 2.4.49 are unaffected by this flaw. The incomplete fix in version 2.4.50 is tracked separately as CVE-2021-42013.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can disclose server files accessible to the Apache worker process, potentially exposing application configuration, credentials, and other sensitive information. Under CGI-enabled configurations that permit access to executable targets, attackers can execute arbitrary commands with the privileges of the server's execution context. Observed exploitation has supported malware deployment, cryptomining, credential theft, and botnet propagation; these follow-on outcomes depend on the compromised system's permissions and environment.
Mitigation
If you can’t patch tonight, do this now.
Enforce default-deny filesystem access using Require all denied outside explicitly authorized directories, and review Alias-like mappings for overly broad access grants. Disable CGI execution for affected mappings where it is unnecessary. Use tested reverse-proxy, WAF, or IPS rules to block traversal attempts as a temporary control while patching, and restrict network access to exposed servers where feasible.
Remediation
Patch, then assume compromise.
Upgrade Apache HTTP Server to a currently supported release containing complete fixes for both CVE-2021-41773 and CVE-2021-42013, or apply the corresponding vendor security update. Do not rely on version 2.4.50 as the final remediation because its path traversal fix was incomplete. Verify the installed package's patch status and review effective directory authorization and CGI configuration after updating.
Exploits
74 exploits validated by Mallory's analysis. Hidden: 43 rejected by Mallory's analysis as not a working exploit; 4 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-41773 exploited in the wild?
- Yes. As of Nov 7, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2021-41773?
- Yes. Mallory tracks 74 public exploits or proofs of concept for CVE-2021-41773, the earliest disclosed May 10, 2021.
- Is there a patch for CVE-2021-41773?
- Upgrade Apache HTTP Server to a currently supported release containing complete fixes for both CVE-2021-41773 and CVE-2021-42013, or apply the corresponding vendor security update. Do not rely on version 2.4.50 as the final remediation because its path traversal fix was incomplete.
- What products are affected by CVE-2021-41773?
- Apache Software Foundation Apache HTTP Server, NetApp Cloud Backup, Fedora Project Fedora, and Oracle Corporation Instantis Enterprisetrack.
- How severe is CVE-2021-41773?
- CVE-2021-41773 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 100.0% (100th percentile) as of Nov 7, 2026.
Recent activity
162 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.