{"id":"CVE-2026-54593","revision":null,"records":[{"revision":"02f307ce4fcd4de58849e227eb85eac4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-54593","aliases":[],"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.","state":0,"publishedAt":"2026-07-28T15:42:56.971+00:00","modifiedAt":"2026-07-28T16:39:43.359+00:00","affected":[{"ecosystem":"Vendor product","name":"panel","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"pterodactyl\",\n                    \"product\": \"panel\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.12.3\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-54593","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-54593","identifiers":["CVE-2026-54593"]},"retained":false,"historicalAffected":[]},{"revision":"cc40807f329a487fa673f852bd114006","observedAt":"2026-10-25T13:17:28.253+00:00","statement":{"source":"nvd","id":"CVE-2026-54593","aliases":[],"title":"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_i…","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.","state":0,"publishedAt":"2026-07-28T16:19:00.097+00:00","modifiedAt":"2026-10-24T13:10:00.147+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"severity":"HIGH"}],"references":["https://github.com/pterodactyl/panel/commit/7ffcd636310bb72b54bac3280d2a15e727feded7","https://github.com/pterodactyl/panel/pull/5636","https://github.com/pterodactyl/panel/security/advisories/GHSA-8r6w-3qq5-4p4r","https://github.com/pterodactyl/wings/commit/d0ddc80844479302abdaf9654de3bacd511c0f5c"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-54593","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-1259","CWE-1270"],"productCriteria":[],"sourceDates":{"published":"2026-07-28T16:19:00.097","lastModified":"2026-10-24T13:10:00.147"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-54593","identifiers":["CVE-2026-54593"]},"retained":false,"historicalAffected":[]},{"revision":"41104a54cd884468861b48e3d8d849e8","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-8r6w-3qq5-4p4r","aliases":["CVE-2026-54593","GO-2026-6120"],"title":"Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions","description":"### Summary\nA privilege escalation vulnerability exists in the Wings /upload/file endpoint due to insufficient validation of panel-signed JWTs. Wings accepts any valid panel-signed JWT containing `server_uuid`, `user_uuid`, and `unique_id`, regardless of the token’s intended purpose. Because the Panel issues JWTs with these same claims for other lower-privilege operations (such as WebSocket authentication and file download links), an authenticated subuser can reuse one of those tokens to upload arbitrary files without possessing the required `file.create` permission.\n\n### Impact\nAny subuser with permission to connect to a server's console, download files, or download backups could reuse those tokens to upload arbitrary files to the _same server_. A user that does not have access to a server as a subuser is not able to arbitrarily upload files.\n\n### Details\nThe panel generated JWT tokens for various purposes:\n- https://github.com/pterodactyl/panel/blob/0f82c105201b192d229f6abd5827e2ee7e672a05/app/Services/Backups/DownloadLinkService.php#L33-L36\n- https://github.com/pterodactyl/panel/blob/0f82c105201b192d229f6abd5827e2ee7e672a05/app/Http/Controllers/Api/Client/Servers/FileUploadController.php#L45\n- https://github.com/pterodactyl/panel/blob/0f82c105201b192d229f6abd5827e2ee7e672a05/app/Http/Controllers/Api/Client/Servers/WebsocketController.php#L58-L61\n- https://github.com/pterodactyl/panel/blob/0f82c105201b192d229f6abd5827e2ee7e672a05/app/Http/Controllers/Api/Client/Servers/FileController.php#L82-L85\nThough as the actual purpose is not conveyed part of the JWT tokens, this introduces this vulnerability of being able to do non-intended actions due to the expected fields (i.e. `server_uuid`) on most endpoints being the same when parsing it on wings' side.  \n\n### PoC\nCreate a new subuser that has the minimal amount of permissions on a server (`websocket.connect`). As that subuser, retrieve a websocket JWT token from the `GET /api/client/servers/[...]/websocket` endpoint (in my case, I manually just make a request under that user's browser session; you can probably just resend the /websocket request in browser console to get a fresh unused token). Using that websocket token, we can abuse this by directly using it in the `/upload/file` endpoint of the wings node instead of using it for websocket authentication:\n```python3\nimport requests\n\nwings_url = 'http://[...]:8080'\nwebsocket_token = '[...]'\n\nres = requests.post(f'{wings_url}/upload/file', params = {\n    'token': websocket_token,\n}, files = {\n    'files': ('file-upload.txt', b'Hello, World!'),\n})\nprint(res.status_code, res.content)\n```\nObserve, that even though our subuser never has permissions outside viewing the console, they are able to write arbitrary files in the server. This pattern happens in a lot of other action, but this is probably the most interesting one.","state":0,"publishedAt":"2026-07-28T15:43:25+00:00","modifiedAt":"2026-08-18T15:10:50.7056504+00:00","affected":[{"ecosystem":"Packagist","name":"pterodactyl/panel","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.12.3"}]}],"versions":["v0.1.0-beta","v0.1.1-beta","v0.1.2-beta","v0.2.0-beta","v0.3.0-beta","v0.4.0-beta","v0.4.1-beta","v0.5.0","v0.5.0-rc.1","v0.5.0-rc.2","v0.5.1","v0.5.2","v0.5.3","v0.5.4","v0.5.5","v0.5.6","v0.5.7","v0.6.0","v0.6.0-beta.1","v0.6.0-beta.2","v0.6.0-beta.2.1","v0.6.0-rc.1","v0.6.1","v0.6.2","v0.6.3","v0.6.4","v0.7.0","v0.7.0-beta.1","v0.7.0-beta.2","v0.7.0-beta.3","v0.7.0-beta.4","v0.7.0-rc.1","v0.7.0-rc.2","v0.7.1","v0.7.10","v0.7.11","v0.7.12","v0.7.13","v0.7.14","v0.7.15","v0.7.16","v0.7.17","v0.7.18","v0.7.19","v0.7.2","v0.7.3","v0.7.4","v0.7.5","v0.7.6","v0.7.7","v0.7.8","v0.7.9","v0.8.0-alpha.1","v0.8.0-alpha.2","v1.0.0","v1.0.0-beta.1","v1.0.0-beta.2","v1.0.0-beta.3","v1.0.0-beta.4","v1.0.0-beta.5","v1.0.0-beta.6","v1.0.0-beta.7","v1.0.0-rc.1","v1.0.0-rc.2","v1.0.0-rc.3","v1.0.0-rc.4","v1.0.0-rc.5","v1.0.0-rc.6","v1.0.0-rc.7","v1.0.1","v1.0.2","v1.0.3","v1.1.0","v1.1.1","v1.1.2","v1.1.3","v1.10.0","v1.10.1","v1.10.2","v1.10.3","v1.10.4","v1.11.0","v1.11.0-rc.1","v1.11.0-rc.2","v1.11.1","v1.11.10","v1.11.11","v1.11.2","v1.11.3","v1.11.4","v1.11.5","v1.11.6","v1.11.7","v1.11.8","v1.11.9","v1.12.0","v1.12.1","v1.12.2","v1.2.0","v1.2.1","v1.2.2","v1.3.0","v1.3.1","v1.3.2","v1.4.0","v1.4.1","v1.4.2","v1.5.0","v1.5.1","v1.6.0","v1.6.1","v1.6.2","v1.6.3","v1.6.5","v1.6.6","v1.7.0","v1.8.0","v1.8.1","v1.9.0","v1.9.1","v1.9.2"],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/pterodactyl/wings","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.12.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"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","https://github.com/pterodactyl/panel"],"sourceUrl":"https://github.com/advisories/GHSA-8r6w-3qq5-4p4r","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8r6w-3qq5-4p4r","identifiers":["GHSA-8r6w-3qq5-4p4r","CVE-2026-54593","GO-2026-6120"]},"retained":false,"historicalAffected":[]},{"revision":"b19b35d71b66441bb7143f021fddbc29","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6120","aliases":["CVE-2026-54593","GHSA-8r6w-3qq5-4p4r"],"title":"Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions in github.com/pterodactyl/wings","description":"Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions in github.com/pterodactyl/wings","state":0,"publishedAt":"2026-08-18T14:32:29+00:00","modifiedAt":"2026-08-18T15:00:21.7791616+00:00","affected":[{"ecosystem":"Go","name":"github.com/pterodactyl/wings","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.12.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/pterodactyl/panel/security/advisories/GHSA-8r6w-3qq5-4p4r","https://github.com/pterodactyl/wings/commit/d0ddc80844479302abdaf9654de3bacd511c0f5c","https://github.com/pterodactyl/panel/commit/7ffcd636310bb72b54bac3280d2a15e727feded7","https://github.com/pterodactyl/panel/pull/5636"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6120","license":"OSV · upstream source license applies","key":"osv:GO-2026-6120","identifiers":["GO-2026-6120","CVE-2026-54593","GHSA-8r6w-3qq5-4p4r"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-10-26T02:37:01.8023049+00:00","complete":true,"records":1756,"lastAttemptAt":"2026-10-26T02:37:01.8023049+00:00","lastSuccessAt":"2026-10-26T02:37:01.9582808+00:00","error":null,"lastVerifiedAt":"2026-10-26T02:37:01.9582828+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-5ba1945314e042c2ced14b33f3680fa71692812d925544312b218f5eb8a26e71-db718265d4164c5786f6ba29fb49aaca9f98d018ab1781237fdcf612cd6089e1","complete":true,"records":414057,"lastAttemptAt":"2026-10-26T02:35:18.1393313+00:00","lastSuccessAt":"2026-10-26T02:35:18.1285176+00:00","error":null,"lastVerifiedAt":"2026-10-26T02:35:18.1393313+00:00","snapshotPublishedAt":"2026-10-26T01:45:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-43321610382942b8ad8c85917eab1546","complete":false,"records":4735,"lastAttemptAt":"2026-10-26T02:37:04.5963782+00:00","lastSuccessAt":"2026-10-24T23:18:49.862+00:00","error":"InvalidDataException","lastVerifiedAt":"2026-10-24T23:18:49.862+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":4764,"expectedIdentifiers":13474},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-10-26T02:37:01.8023049+00:00","complete":true,"records":1093,"lastAttemptAt":"2026-10-26T02:37:01.8023049+00:00","lastSuccessAt":"2026-10-26T02:37:02.0734316+00:00","error":null,"lastVerifiedAt":"2026-10-26T02:37:02.0734335+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-204a3fb93a00487e8f7f36db01dc851d","complete":true,"records":13413,"lastAttemptAt":"2026-10-26T02:37:02.696128+00:00","lastSuccessAt":"2026-10-25T16:19:28.681+00:00","error":null,"lastVerifiedAt":"2026-10-25T16:19:28.681+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13474,"expectedIdentifiers":13474},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-2375a4e597279abf92e8747e140fe8da9d421877cd49cae3ac69a2cb78469b2c","complete":true,"records":9779,"lastAttemptAt":"2026-10-26T02:37:01.7380852+00:00","lastSuccessAt":"2026-10-24T13:19:53.1346702+00:00","error":null,"lastVerifiedAt":"2026-10-26T02:37:01.7380852+00:00","snapshotPublishedAt":"2026-10-24T03:03:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-16ad89dfea13ab9e9b0108e63a759d63bd4559cc68b58491107d62ee35bbbaf2","complete":true,"records":1965,"lastAttemptAt":"2026-10-26T02:35:18.2014911+00:00","lastSuccessAt":"2026-10-23T16:01:26.4487605+00:00","error":null,"lastVerifiedAt":"2026-10-26T02:35:18.2014911+00:00","snapshotPublishedAt":"2026-10-21T12:18:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-7da67a15aa6e56a0e3081a7646dc74d537e6ef974afc593c2b1794ed01970648","complete":true,"records":2969,"lastAttemptAt":"2026-10-26T02:37:01.7526933+00:00","lastSuccessAt":"2026-10-24T13:19:59.1145547+00:00","error":null,"lastVerifiedAt":"2026-10-26T02:37:01.7526933+00:00","snapshotPublishedAt":"2026-10-24T08:47:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-d6410afbb1aa373ee2535dba99f1cc1a4b2a7a61e4171d3e4abf4e44fb758256","complete":true,"records":230794,"lastAttemptAt":"2026-10-26T02:37:01.5387917+00:00","lastSuccessAt":"2026-10-26T02:37:00.2862835+00:00","error":null,"lastVerifiedAt":"2026-10-26T02:37:01.5387917+00:00","snapshotPublishedAt":"2026-10-26T01:48:28+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null}]}