CVE-2026-54593

Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions

State
Published
Severity
8.1 High
Published
Jul 28, 2026
Updated
Jul 28, 2026
Reserved
Jun 15, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HGitHub_M

Weaknesses

  • CWE-1259 Improper Restriction of Security Token Assignment
  • CWE-1270 Generation of Incorrect Security Tokens

Affected Products

ProductVersions
panelpterodactyl
  • < 1.12.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.