Medium

PocketMine-MP has LogDoS by many junk properties in client data JWT in LoginPacket

  • Disclosed: 15.04.2026
  • Updated: 11.10.2026 10:22

Impact

Attackers can fill the body of the clientData JWT in LoginPacket with lots of junk properties, causing the server to flood warning messages, as well as wasting CPU time.

This happens because the JsonMapper instance used to process the JWT body is configured to warn on unexpected properties instead of rejecting them outright. While this behaviour increases flexibility for random changes introduced by Microsoft, it also creates vulnerabilities if not handled carefully.

This vulnerability affects PocketMine-MP servers exposed to a public network where unknown actors may have access.

Patches

This issue was fixed in c1d4a813fb8c21bfd8b9affd040da864b794df71 by restricting the number of unknown properties to 10, and rejecting the packet if this limit is exceeded. This continues to tolerate random additions to the JWT between versions, while preventing the logger from being abused by clients to slow down the server.

Workarounds

Plugins can handle DataPacketReceiveEvent to capture LoginPacket, and pre-process the clientData JWT to ensure it doesn't have any unusual properties in it. This can be achieved using JsonMapper (see the original affected code below) and setting the bExceptionOnUndefinedProperty flag to true. A JsonMapper_Exception will be thrown if the JWT is problematic.

However, it's important to caveat that this approach may cause login failures if any unexpected properties appear out of the blue in future versions (which has happened in the past).

References

Affected code:

https://github.com/pmmp/PocketMine-MP/blob/5.41.1/src/network/mcpe/handler/LoginPacketHandler.php#L289-L303 https://github.com/pmmp/PocketMine-MP/blob/5.41.1/src/network/mcpe/handler/LoginPacketHandler.php#L334-L350

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package pocketmine/pocketmine-mp < 5.42.1 5.42.1

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-779
Platform
Composer
Package
pocketmine/pocketmine-mp
Disclosed
15.04.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-xp4f-g2cm-rhg7 - CC BY 4.0

Vulnerability history: pocketmine/pocketmine-mp

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

All (30) in the archive
Total entries
30
First → latest
11.2020 04.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 20
  • Medium 8
  • Low 2

Disclosures per year

  1. 2020: 1
  2. 2021: 1
  3. 2022: 11
  4. 2023: 8
  5. 2024: 2
  6. 2025: 2
  7. 2026: 5
Severity:
  1. PocketMine-MP has LogDoS by many junk properties in client data JWT in LoginPacket this entry
    Medium CVE-2026-86200 < 5.42.1 5.42.1
  2. High · 7.5 CVE-2023-54392 >= 4.20.0, < 4.22.3, >= 5.0.0, < 5.2.1 4.22.3, 5.2.1
  3. High · 7.5 CVE-2022-51012 < 4.2.9 4.2.9
  4. High · 7.5 CVE-2022-51014 >= 4.0.0, < 4.0.7 4.0.7
  5. High · 7.5 CVE-2022-51015 < 4.0.6 4.0.6
  6. High · 7.5 CVE-2022-51017 < 3.26.5, >= 4.0.0, < 4.0.5 3.26.5, 4.0.5
Show more (1) Showing 20 of 21

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.