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 normalization of URL-encoded dot characters allows crafted requests to access files outside directories configured by Alias-like directives when filesystem authorization permits access. CGI execution enabled for the affected aliased paths can additionally allow remote code execution. The vulnerability has been exploited in the wild and does not affect versions earlier than 2.4.49. 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.
Remote attackers can disclose server files outside the intended aliased directories, subject to Apache authorization rules and operating-system permissions. Exposed files may contain application secrets, credentials, configuration data, or source code. Where CGI execution and access controls permit, attackers can execute arbitrary commands with the privileges of the server's CGI execution context, enabling malware deployment, data theft, and further compromise. Exploitation does not inherently confer root privileges.
Mitigation
If you can’t patch tonight, do this now.
Enforce the default "Require all denied" authorization policy outside explicitly permitted directories and audit directory permissions associated with Alias-like directives. Disable CGI execution for affected aliases where it is unnecessary; this reduces the code-execution risk but does not independently prevent file disclosure. Restrict network access to vulnerable servers and use traversal-aware WAF or IPS protections as temporary controls pending patch deployment.
Remediation
Patch, then assume compromise.
Upgrade to a current supported Apache HTTP Server release that fixes both CVE-2021-41773 and CVE-2021-42013, or install the corresponding vendor security update. Do not treat Apache HTTP Server 2.4.50 as a complete remediation because its path traversal fix was incomplete. Verify the installed package's patch status rather than relying solely on its HTTP version banner.
Exploits
77 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 20, 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 77 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 to a current supported Apache HTTP Server release that fixes both CVE-2021-41773 and CVE-2021-42013, or install the corresponding vendor security update. Do not treat Apache HTTP Server 2.4.50 as a complete 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 20, 2026.
Recent activity
165 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.