{"answers":{"affected":"2 open source packages ship an affected version, including pocketmine/pocketmine-mp.","exploited":"There is no known exploitation of CVE-2022-51016 in the wild and no public exploit code.","fix":"Upgrade pocketmine/pocketmine-mp to 4.0.0 or later.","what":"CVE-2022-51016 is a medium-severity authentication bypass vulnerability in pmmp PocketMine-MP, published on 7 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-51016 and fix it if it is affected.\n\nWhat it is: CVE-2022-51016 is a medium-severity authentication bypass vulnerability in pmmp PocketMine-MP, published on 7 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-51016 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pocketmine/pocketmine-mp (Packagist): affected from 3.0.0; fixed in 4.0.0\n- pocketmine/pocketmine-mp (Packagist): affected from 3.0.0; fixed in 4.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-51016/ (Markdown: https://insights.sbomify.com/CVE-2022-51016/index.md)","id":"CVE-2022-51016","markdown":"https://insights.sbomify.com/CVE-2022-51016/index.md","name":"CVE-2022-51016","record":{"aliases":["GHSA-h79x-98r2-g6qc","GHSA-xc6f-r2f5-fwj7"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Minecraft Bedrock server","requires_auth":"none","summary":"Attackers can replay captured login tokens to impersonate players and bypass authentication on PocketMine-MP servers lacking encryption.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-294","name":"Authentication Bypass by Capture-replay"}],"description":"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"PocketMine-MP 3.x before 3.27.0 Authentication Bypass via Login Replay","id":"CVE-2022-51016","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"auth_bypass","year":"2022"},"n_packages":2,"n_references":3,"next":{"headline":"PocketMine-MP before 3.26.5 and 4.0.5 Denial of Service via Skin Data","id":"CVE-2022-51017"},"packages":[{"ecosystem":"Packagist","fixed":["4.0.0"],"introduced":["3.0.0"],"last_affected":[],"package":"pocketmine/pocketmine-mp","purl":null,"source":"GHSA-h79x-98r2-g6qc"},{"ecosystem":"Packagist","fixed":["4.0.0"],"introduced":["3.0.0"],"last_affected":[],"package":"pocketmine/pocketmine-mp","purl":"pkg:composer/pocketmine/pocketmine-mp","source":"GHSA-h79x-98r2-g6qc"}],"prev":{"headline":"PocketMine-MP before 4.0.6 Denial of Service via PlayerActionPacket","id":"CVE-2022-51015"},"products":["PocketMine-MP"],"published":"2026-09-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["pmmp"]},"summary":"Attackers can replay captured login tokens to impersonate players and bypass authentication on PocketMine-MP servers lacking encryption.","url":"https://insights.sbomify.com/CVE-2022-51016/"}