{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.27.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "03510333dcec34fa5a59191e8e9610a9da5765ef"
            },
            {
              "fixed": "d28be4eaf24a890f7ef110a51181a3d806a6acca"
            }
          ],
          "repo": "https://github.com/pmmp/pocketmine-mp",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h79x-98r2-g6qc"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-294"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51016.json"
  },
  "details": "PocketMine-MP 3.x (before 3.27.0) does not implement Minecraft Bedrock protocol encryption, so the server cannot verify that a connecting client possesses the private key corresponding to its login token. An attacker who captures a valid login from another player's session (for example by tricking the player into connecting to an attacker-controlled server) can replay that login to impersonate the victim and pass XBOX Live authentication until the JWT token expires (typically 2-3 days). This affects servers directly reachable over the internet that are not behind a proxy with encryption enabled. Fixed in 4.0.0 and backported to 3.27.0.",
  "id": "CVE-2022-51016",
  "modified": "2026-09-12T03:31:03.193725074Z",
  "published": "2026-09-07T12:55:09.180Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51016.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pmmp/PocketMine-MP/security/advisories/GHSA-h79x-98r2-g6qc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-51016"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/pocketmine-mp-before-4.0.0-authentication-bypass-via-login-replay"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pmmp/PocketMine-MP/commit/d28be4eaf24a890f7ef110a51181a3d806a6acca"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "PocketMine-MP 3.x before 3.27.0 Authentication Bypass via Login Replay"
}