{"id":"CVE-2026-54593","state":"PUBLISHED","title":"Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions","description":"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.","publishedAt":"2026-07-28T15:42:56.971Z","updatedAt":"2026-07-28T16:39:43.359Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["pterodactyl panel"],"affected":[{"vendor":"pterodactyl","product":"panel","versions":[{"version":"< 1.12.3","status":"affected"}]}],"references":["https://github.com/pterodactyl/panel/security/advisories/GHSA-8r6w-3qq5-4p4r","https://github.com/pterodactyl/panel/pull/5636","https://github.com/pterodactyl/panel/commit/7ffcd636310bb72b54bac3280d2a15e727feded7","https://github.com/pterodactyl/wings/commit/d0ddc80844479302abdaf9654de3bacd511c0f5c"],"weaknesses":["CWE-1259","CWE-1270"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54593.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54593","state":"PUBLISHED","datePublished":"2026-07-28T15:42:56.971Z","dateUpdated":"2026-07-28T16:39:43.359Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-15T19:45:23.539Z"},"containers":{"cna":{"title":"Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"pterodactyl","product":"panel","versions":[{"version":"< 1.12.3","status":"affected"}]}],"references":[{"url":"https://github.com/pterodactyl/panel/security/advisories/GHSA-8r6w-3qq5-4p4r","name":"https://github.com/pterodactyl/panel/security/advisories/GHSA-8r6w-3qq5-4p4r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pterodactyl/panel/pull/5636","name":"https://github.com/pterodactyl/panel/pull/5636","tags":["x_refsource_MISC"]},{"url":"https://github.com/pterodactyl/panel/commit/7ffcd636310bb72b54bac3280d2a15e727feded7","name":"https://github.com/pterodactyl/panel/commit/7ffcd636310bb72b54bac3280d2a15e727feded7","tags":["x_refsource_MISC"]},{"url":"https://github.com/pterodactyl/wings/commit/d0ddc80844479302abdaf9654de3bacd511c0f5c","name":"https://github.com/pterodactyl/wings/commit/d0ddc80844479302abdaf9654de3bacd511c0f5c","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1259","lang":"en","description":"CWE-1259: Improper Restriction of Security Token Assignment","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1270","lang":"en","description":"CWE-1270: Generation of Incorrect Security Tokens","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-28T15:42:56.971Z"},"source":{"advisory":"GHSA-8r6w-3qq5-4p4r","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-28T16:39:28.643328Z","id":"CVE-2026-54593","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-28T16:39:43.359Z"}}]}}}