# CVE-2024-40725: Apache HTTP Server: source code disclosure with handlers configured via AddType

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.42%, higher than 91% of CVEs (2026-12-01)
- Published: 2024-07-18T09:32:43.929Z
- Modified: 2026-09-08T08:45:44.073Z
- Also known as: BIT-APACHE-2024-40725
- Weaknesses: CWE-668
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## Description

A partial fix for  CVE-2024-39884 in the core of Apache HTTP Server 2.4.61 ignores some use of the legacy content-type based configuration of handlers. "AddType" and similar configuration, under some circumstances where files are requested indirectly, result in source code disclosure of local content. For example, PHP scripts may be served instead of interpreted.

Users are recommended to upgrade to version 2.4.62, which fixes this issue.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache HTTP Server: from 2.4.60 up to 2.4.61
- apache http_server: 2.4.60; 2.4.61
- apache (Bitnami): from 2.4.60 before 2.4.62

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://httpd.apache.org/security/vulnerabilities_24.html> (advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20240808-0007/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-40725> (web)

## Sources

- CVE List: [CVE-2024-40725](https://www.cve.org/CVERecord?id=CVE-2024-40725), CVE Terms of Use, modified 2025-03-14
- NVD: [CVE-2024-40725](https://nvd.nist.gov/vuln/detail/CVE-2024-40725), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-APACHE-2024-40725](https://osv.dev/vulnerability/BIT-APACHE-2024-40725), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-40725 · Whole record: https://cve.day/CVE-2024-40725.json · Rebuilt by cve.day 2026-11-25T22:58:43.039Z
