# CVE-2024-51127: hornetq vulnerable to file overwrite, sensitive information disclosure

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 0.67%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-04T00:00:00.000Z
- Modified: 2026-07-05T01:21:01.277Z
- Also known as: GHSA-r7mv-mv7m-pjw3
- Weaknesses: CWE-22, CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

An issue in the createTempFile method of hornetq v2.4.9 allows attackers to arbitrarily overwrite files or access sensitive information.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- redhat hornetq: up to 2.4.9
- org.hornetq:hornetq-core-client (Maven): up to 2.4.9

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/JAckLosingHeart/CWE-378/blob/main/CVE-2024-51127.md> (exploit, mitigation, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-51127> (advisory)
- <https://github.com/darranl/hornetq> (package)
- <https://github.com/hornetq/hornetq/blob/HornetQ_2_4_9_Final/hornetq-core-client/src/main/java/org/hornetq/core/client/impl/ClientConsumerImpl.java#L665C35-L665C49> (web)
- <http://hornetq.com> (web)

## Sources

- CVE List: [CVE-2024-51127](https://www.cve.org/CVERecord?id=CVE-2024-51127), CVE Terms of Use, modified 2026-07-05
- GitHub Advisory Database: [GHSA-r7mv-mv7m-pjw3](https://github.com/advisories/GHSA-r7mv-mv7m-pjw3), CC-BY-4.0, modified 2024-11-04
- NVD: [CVE-2024-51127](https://nvd.nist.gov/vuln/detail/CVE-2024-51127), Public domain, modified 2026-07-05

---

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