CVE-2023-51518
CRITICAL 9.8CVSS 3.1Apache James server: Privilege escalation via JMX pre-authentication deserialization
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
- Published
- 27 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-502
- Also known as
- GHSA-px7w-c9gw-7gj3
- Sources
- NVDJSONOSV GHSA-px7w-c9gw-7gj3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | jamescpe:2.3:a:apache:james:3.7.5:*:*:*:*:*:*:* |
= 3.7.5 | |
| NVD | apache | jamescpe:2.3:a:apache:james:3.8.0:*:*:*:*:*:*:* |
= 3.8.0 | |
| OSV | Maven | org.apache.james:james-server | < 3.7.5 | 3.7.5 |
| OSV | Maven | org.apache.james:james-server | >= 3.8.0, < 3.8.1 | 3.8.1 |
References
- https://lists.apache.org/thread/wbdm61ch6l0kzjn6nnfmyqlng82qz0or · Mailing List, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-51518 · ADVISORY
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 27 Feb 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Feb 2024)