# CVE-2023-51518: Apache James server: Privilege escalation via JMX pre-authentication deserialisation

- Severity: Critical 9.8 (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:H`
- 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): 1.19%, higher than 68% of CVEs (2026-12-01)
- Published: 2024-02-27T09:09:31.579Z
- Modified: 2026-06-17T06:41:07.313Z
- Also known as: GHSA-px7w-c9gw-7gj3
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: apache

## Description

Apache James prior to version 3.7.5 and 3.8.0 exposes a JMX endpoint on localhost subject to pre-authentication deserialisation of untrusted data.
Given a deserialisation gadjet, this could be leveraged as part of an exploit chain that could result in privilege escalation.
Note that by default JMX endpoint is only bound locally.

We recommend users to:
 - Upgrade to a non-vulnerable Apache James version

 - Run Apache James isolated from other processes (docker - dedicated virtual machine)
 - If possible turn off JMX

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache James server: up to 3.7.4; from 3.8 up to 3.8.0
- apache james_server: up to 3.7.4; 3.8
- org.apache.james:james-server (Maven): before 3.7.5; from 3.8.0 before 3.8.1
- apache james: 3.7.5; 3.8.0

## Every score

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

## References

- <https://lists.apache.org/thread/wbdm61ch6l0kzjn6nnfmyqlng82qz0or> (mailing-list, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51518> (advisory)

## Sources

- CVE List: [CVE-2023-51518](https://www.cve.org/CVERecord?id=CVE-2023-51518), CVE Terms of Use, modified 2024-08-22
- GitHub Advisory Database: [GHSA-px7w-c9gw-7gj3](https://github.com/advisories/GHSA-px7w-c9gw-7gj3), CC-BY-4.0, modified 2024-08-23
- NVD: [CVE-2023-51518](https://nvd.nist.gov/vuln/detail/CVE-2023-51518), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-51518 · Whole record: https://cve.day/CVE-2023-51518.json · Rebuilt by cve.day 2026-11-25T22:58:33.083Z
