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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-02-27 · Modified: 2024-08-22
- Aliases: GHSA-px7w-c9gw-7gj3
- Record: https://cvemate.com/vulnerability/CVE-2023-51518 · JSON: https://cvemate.com/vulnerability/CVE-2023-51518/json

## Description

```text
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
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.189%, percentile 68.963%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache james server: ≤ 3.7.4 \| ≥ 3.8, ≤ 3.8.0
- apache james: 3.7.5 \| 3.8.0
- org.apache.james james-server (Maven): \< 3.7.5 \| ≥ 3.8.0, \< 3.8.1

## References

- <https://lists.apache.org/thread/wbdm61ch6l0kzjn6nnfmyqlng82qz0or>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51518>

---

Data as of 2026-12-05T05:21:43.327Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
