Skip to content
OpenAdvisories
High · 8.1 CVE-2026-54593 EUVD-2026-49880GHSA-8r6w-3qq5-4p4rGO-2026-6120

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

Published Jul 28, 2026 · Updated Jul 28, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
pterodactyl panel < 1.12.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/pterodactyl/wings < 1.12.2 1.12.2 GO-2026-6120
Packagist pterodactyl/panel < 1.12.3 1.12.3 GHSA-8r6w-3qq5-4p4r

Advisories 2

References