Home / Apache Software Foundation / Apache HTTP Server / CVE-2021-40438
CVE-2021-40438: is it exploited, and which versions of Apache Software Foundation Apache HTTP Server are affected and fixed?
CVE-2021-40438 is a server-side request forgery (SSRF) 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 December 1, 2021, with a federal due date of December 15, 2021. Affected: Apache HTTP Server from Apache HTTP Server 2.4 through 2.4.48 (CVE record by apache). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.0, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:55 UTC.
What is CVE-2021-40438?
mod_proxy SSRF
A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.
From the CVE record by apache, last updated August 6, 2026, 03:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache HTTP Server | from Apache HTTP Server 2.4 through 2.4.48 |
As the CVE record by apache states it, last updated August 6, 2026. 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?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| resf | rocky linux | 8.0 | operating system |
| redhat | enterprise linux | 8.0 | operating system |
| redhat | enterprise linux eus | 8.1 | operating system |
| redhat | enterprise linux eus | 8.2 | operating system |
| redhat | enterprise linux eus | 8.4 | operating system |
| redhat | enterprise linux eus | 8.6 | operating system |
| redhat | enterprise linux eus | 8.8 | operating system |
| redhat | enterprise linux for arm 64 | 8.0 | operating system |
| redhat | enterprise linux for arm 64 eus | 8.6 | operating system |
| redhat | enterprise linux for arm 64 eus | 8.8 | operating system |
| redhat | enterprise linux for ibm z systems | 7.0_s390x | operating system |
| redhat | enterprise linux for ibm z systems | 8.0 | operating system |
| redhat | enterprise linux for ibm z systems eus | 8.1 | operating system |
| redhat | enterprise linux for ibm z systems eus | 8.4 | operating system |
| redhat | enterprise linux for ibm z systems eus | 8.8 | operating system |
| redhat | enterprise linux for ibm z systems eus s390x | 8.2 | operating system |
| redhat | enterprise linux for power big endian | 7.0 | operating system |
| redhat | enterprise linux for power little endian | 7.0 | operating system |
| redhat | enterprise linux for power little endian | 8.0 | operating system |
| redhat | enterprise linux for power little endian eus | 8.1 | operating system |
| redhat | enterprise linux for power little endian eus | 8.2 | operating system |
| redhat | enterprise linux for power little endian eus | 8.4 | operating system |
| redhat | enterprise linux for power little endian eus | 8.6 | operating system |
| redhat | enterprise linux for power little endian eus | 8.8 | operating system |
| redhat | enterprise linux for scientific computing | 7.0 | operating system |
NVD analysis (status Analyzed), last modified August 6, 2026, 05:16 UTC.
How severe is CVE-2021-40438?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | CISA-ADP |
| Critical 9.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
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-40438 exploited in the wild?
- CISA KEV
- Listed as Apache HTTP Server-Side Request Forgery (SSRF), added December 1, 2021; federal agencies must act by December 15, 2021
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Known
- CISA's summary
- A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, October 14, 2021)
- 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?
- CWE-918 Server-Side Request Forgery
Where are the vendor advisories and references?
- https://httpd.apache.org/security/vulnerabilities_24.html x_refsource_MISC
- FEDORA-2021-dce7e7738e vendor-advisory, x_refsource_FEDORA
- [httpd-users] 20210923 [users@httpd] 2.4.49 security fixes: more info mailing-list, x_refsource_MLIST
- [httpd-users] 20210923 Re: [users@httpd] 2.4.49 security fixes: more info mailing-list, x_refsource_MLIST
- [httpd-users] 20210923 [users@httpd] Re: [External] : [users@httpd] 2.4.49 security fixes: more info mailing-list, x_refsource_MLIST
- [httpd-users] 20210923 Re: [users@httpd] Re: [External] : [users@httpd] 2.4.49 security fixes: more info mailing-list, x_refsource_MLIST
- FEDORA-2021-e3f6dd670d vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20211002 [SECURITY] [DLA 2776-1] apache2 security update mailing-list, x_refsource_MLIST
- [httpd-bugs] 20211008 [Bug 65616] CVE-2021-36160 regression mailing-list, x_refsource_MLIST
- DSA-4982 vendor-advisory, x_refsource_DEBIAN
- [httpd-users] 20211019 [users@httpd] Regarding CVE-2021-40438 mailing-list, x_refsource_MLIST
- [httpd-users] 20211019 Re: [users@httpd] Regarding CVE-2021-40438 mailing-list, x_refsource_MLIST
- 20211124 Multiple Vulnerabilities in Apache HTTP Server Affecting Cisco Products: November 2021 vendor-advisory, x_refsource_CISCO
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.tenable.com/security/tns-2021-17 x_refsource_CONFIRM
- https://security.netapp.com/advisory/ntap-20211008-0004/ x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://cert-portal.siemens.com/productcert/pdf/ssa-685781.pdf x_refsource_CONFIRM
- GLSA-202208-20 vendor-advisory, x_refsource_GENTOO
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-40438 government-resource
Who found and reported it?
- The issue was discovered by the Apache HTTP security team while analysing CVE-2021-36160 (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 2, 2021
- Published
- September 16, 2021, 14:40 UTC
- CVE record updated
- August 6, 2026, 03:55 UTC by apache
- NVD
- Analyzed, last modified August 6, 2026, 05:16 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:55 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Apache HTTP Server?
- Jul 1, 2024CVE-2024-38475 Apache Software Foundation Apache HTTP Server: improper output encoding exploited
- Oct 7, 2021CVE-2021-42013 Apache Software Foundation Apache HTTP Server: path traversal (reading or writing files outside the intended folder) exploited
- Oct 5, 2021CVE-2021-41773 Apache Software Foundation Apache HTTP Server: path traversal (reading or writing files outside the intended folder) exploited
- Nov 11, 2026CVE-2026-106023 Apache Software Foundation Apache HTTP Server: NULL pointer dereference (crash)
- Nov 11, 2026CVE-2026-109163 Apache Software Foundation Apache HTTP Server: stack buffer overflow
- Nov 11, 2026CVE-2026-119618 Apache Software Foundation Apache HTTP Server: race condition
- Oct 1, 2026CVE-2026-63686 Apache Software Foundation Apache HTTP Server: NULL pointer dereference (crash)
- Oct 1, 2026CVE-2026-93546 Apache Software Foundation Apache HTTP Server: integer overflow
Every CVE in Apache HTTP Server
Questions about CVE-2021-40438
Is CVE-2021-40438 exploited in the wild?
Yes. CISA added CVE-2021-40438 to its Known Exploited Vulnerabilities catalog on December 1, 2021 and set federal agencies a due date of December 15, 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-40438?
Apache HTTP Server from Apache HTTP Server 2.4 through 2.4.48, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2021-40438?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2021-40438?
Critical (9.0, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-40438?
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.