{"id":"CVE-2026-54593","published":"2026-07-28T15:42:56Z","modified":"2026-07-28T16:39:43Z","title":"Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions","vendor":"pterodactyl","product":"panel","tier":"tail","description":{"text":"Pterodactyl is a free, open-source game server management panel. Prior to Panel version 1.12.3 and Wings version 1.12.2, the Wings /upload/file endpoint accepted any valid panel-signed JWT that contained server_uuid, user_uuid, and unique_id claims without checking the token's intended purpose; because the Panel issues JWTs carrying those same claims for lower-privilege operations such as WebSocket authentication and file-download links, an authenticated subuser could reuse one of those tokens (for example a WebSocket token obtained with only the websocket.connect permission) by replaying it against /upload/file to write arbitrary files to the same server, despite never being granted the file.create permission. This issue is fixed in Panel version 1.12.3 and Wings version 1.12.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00681,"percentile":0.53357,"provenance":"source"},"cwes":[{"id":"CWE-1259","name":"Improper Restriction of Security Token Assignment"},{"id":"CWE-1270","name":"Generation of Incorrect Security Tokens"}],"references":[{"url":"https://github.com/pterodactyl/panel/security/advisories/GHSA-8r6w-3qq5-4p4r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pterodactyl/panel/pull/5636","tags":["x_refsource_MISC"]},{"url":"https://github.com/pterodactyl/panel/commit/7ffcd636310bb72b54bac3280d2a15e727feded7","tags":["x_refsource_MISC"]},{"url":"https://github.com/pterodactyl/wings/commit/d0ddc80844479302abdaf9654de3bacd511c0f5c","tags":["x_refsource_MISC"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":10.67},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"pterodactyl","affectedVersions":[{"vendor":"pterodactyl","product":"panel","versions":["< 1.12.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-28T16:39:28.643328Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"pterodactyl/panel","vulnerableRanges":["<1.12.3"],"patched":["1.12.3"],"from":["GHSA-8r6w-3qq5-4p4r"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/pterodactyl/wings","vulnerableRanges":["<1.12.2"],"patched":["1.12.2"],"from":["GHSA-8r6w-3qq5-4p4r","GO-2026-6120"],"provenance":"source"}],"summary":{"text":"Pterodactyl Panel's Wings component has a flaw in its /upload/file endpoint, which accepts any valid panel-signed JWT carrying the server, user, and unique_id claims without checking the token's intended purpose. An attacker with network access and a low-privilege authenticated subuser account, such as a WebSocket token issued with only the websocket.connect permission, can replay that token against the upload endpoint to write arbitrary files to the same server without being granted file.create permission.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:15Z"},"euvd":{"id":"EUVD-2026-49880","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pterodactyl-wings-cve-2023-25152","parents":[{"from":"CVE-2024-27102","to":"CVE-2026-54593","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["router/router_download.go","router/router_server_files.go","router/router_transfer.go"],"commits":["https://github.com/pterodactyl/wings/commit/d1c0ca526007113a0f74f56eba99511b4e989287","https://github.com/pterodactyl/wings/commit/d0ddc80844479302abdaf9654de3bacd511c0f5c"],"basis":"shared function","functions":["getDownloadBackup","getDownloadFile","postServerUploadFiles","postTransfers"]}]}],"packageHistory":[{"cve":"CVE-2025-68954","published":"2026-01-06","fixed":"1.12.0","kev":false},{"cve":"CVE-2025-69199","published":"2026-01-19","fixed":"1.12.0","kev":false},{"cve":"CVE-2026-21696","published":"2026-01-19","fixed":"1.12.0","kev":false,"link":{"from":"CVE-2026-21696","to":"CVE-2026-54593","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/pterodactyl/wings","fromFixed":"1.12.0","toFixed":"1.12.2","daysApart":190}]}},{"cve":"CVE-2026-54593","published":"2026-07-28","fixed":"1.12.2","kev":false},{"cve":"CVE-2026-52855","published":"2026-07-31","fixed":"1.12.3","kev":false,"link":{"from":"CVE-2026-54593","to":"CVE-2026-52855","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/pterodactyl/wings","fromFixed":"1.12.2","toFixed":"1.12.3","daysApart":3}]}},{"cve":"CVE-2026-52856","published":"2026-07-31","fixed":"1.13.0","kev":false},{"cve":"CVE-2026-52857","published":"2026-07-31","fixed":"1.13.0","kev":false}],"package":"Go:github.com/pterodactyl/wings"}}