Vulnerability · Published Jul 28, 2026 · Assigned by GitHub_M
CVE-2026-54593Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions
High 8.1
In plain English
A high-severity security flaw in panel from pterodactyl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/pterodactyl/wings | 1.12.2 | GO-2026-6120 |
| Go | github.com/pterodactyl/wings | 1.12.2 | GHSA-8r6w-3qq5-4p4r |
| Packagist | pterodactyl/panel | 1.12.3 | GHSA-8r6w-3qq5-4p4r |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| pterodactyl | panel | < 1.12.3 |
Weakness: CWE-1259, CWE-1270 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
References
- https://github.com/pterodactyl/panel/security/advisories/GHSA-8r6w-3qq5-4p4r x_refsource_CONFIRM
- https://github.com/pterodactyl/panel/pull/5636 x_refsource_MISC
- https://github.com/pterodactyl/panel/commit/7ffcd636310bb72b54bac3280d2a15e727feded7 x_refsource_MISC
- https://github.com/pterodactyl/wings/commit/d0ddc80844479302abdaf9654de3bacd511c0f5c x_refsource_MISC