home / blog
2026-10-29 · critical
CVE-2021-41773: Path Traversal in Apache HTTP Server 2.4.49
Critical path traversal in Apache 2.4.49: RCE possible with CGI enabled. Actively exploited.

CVE-2021-41773 describes a flaw in path normalization introduced in Apache HTTP Server 2.4.49. An attacker can exploit path traversal to map URLs to files outside protected directories configured by Alias-like directives. If these files are not protected by the default 'require all denied' configuration and CGI scripts are enabled on these paths, remote code execution (RCE) is possible.
The vulnerability has a CVSS score of 9.8, classified as Critical. According to the official NVD description, exploitation is confirmed actively in the wild. Critically, the fix provided in Apache 2.4.50 was found to be incomplete, referencing a second advisory (CVE-2021-42013). This patch incompleteness demonstrates the flaw's complexity and the risk that administrators upgrading to 2.4.50 without further verification could remain vulnerable.
Administrators running Apache 2.4.49 must update immediately to a later version. It is essential to verify that the specific version you intend to adopt fully addresses the flaw by consulting CVE-2021-42013. In the interim, verify your Apache version, check if CGI is enabled on aliased paths, and ensure 'require all denied' is configured for directories outside configured Alias paths. Research on public repositories reveals technical analysis materials and practical labs still studying this flaw, a signal that it remains an attractive target for malicious actors.
At a glance
- What
- Path traversal in Apache HTTP Server 2.4.49 allows mapping URLs to files outside Alias-like configured directories. With CGI enabled, remote code execution (RCE) is possible.
- Severity
- CVSS 9.8 - Critical. Exploitation actively confirmed in the wild according to NVD.
- Affected versions
- Apache HTTP Server 2.4.49 exclusively. Earlier versions not affected. Fix in 2.4.50 found incomplete (see CVE-2021-42013).
- Fix
- Update to version after 2.4.49 with verification of patch completeness. Check CVE-2021-42013 for 2.4.50 fix limitations.
- Status
- Exploitation confirmed in the wild. Technical analysis materials and practical labs circulating in public repositories (reported 2026-10-28).
- Action
- Verify Apache version in production; if 2.4.49, update immediately. Check CGI enabled on aliased paths. Implement 'require all denied' for directories outside configured Alias paths.
Sources: NVD, CVE-2021-41773