Critical

Apache James server: Privilege escalation via JMX pre-authentication deserialization

  • Disclosed: 27.02.2024
  • Updated: 11.10.2026 12:21

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

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.james:james-server < 3.7.5, >= 3.8.0, < 3.8.1 3.7.5, 3.8.1

References

CVSS score 9.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-502
Platform
Java / Kotlin (Maven)
Package
org.apache.james:james-server
Disclosed
27.02.2024
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-px7w-c9gw-7gj3 - CC BY 4.0

Vulnerability history: org.apache.james:james-server

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (11) in the archive
Total entries
11
First → latest
01.2022 02.2024
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 4
  • Medium 5

Disclosures per year

  1. 2022: 8
  2. 2023: 1
  3. 2024: 2
  4. 2025: 0
  5. 2026: 0
Severity:
  1. High · 7.1 CVE-2023-51747 < 3.7.5, >= 3.8.0, < 3.8.1 3.7.5, 3.8.1
  2. Apache James server: Privilege escalation via JMX pre-authentication deserialization this entry
    Critical · 9.8 CVE-2023-51518 < 3.7.5, >= 3.8.0, < 3.8.1 3.7.5, 3.8.1
  3. High · 7.5 CVE-2022-28220 < 3.6.3, >= 3.7.0, < 3.7.1 3.6.3, 3.7.1
  4. High · 8.1 CVE-2015-7611 < 2.3.2.1 2.3.2.1
  5. Critical · 9.1 CVE-2021-40525 < 3.6.1 3.6.1
  6. High CVE-2021-40110 >= 3.1.0, < 3.6.1 3.6.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.