BuzzPHP
LightDarkSystem

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

High severity. Published 28 July 2026. Update pterodactyl/panel to 1.12.3 or later: composer update pterodactyl/panel.

Which versions are affected?

PackageAffected versionsFixed in
pterodactyl/panel (opens in a new tab)< 1.12.31.12.3

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show pterodactyl/panel
composer audit

Advisory details

SeverityHighCVSS 8.1
Published
Updated
CVECVE-2026-54593 (opens in a new tab)
GHSAGHSA-8r6w-3qq5-4p4r (opens in a new tab)
WeaknessCWE-1259, CWE-1270

What the advisory says

Summary A 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 serveruuid, useruuid, and uniqueid, 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.

Source: GHSA-8r6w-3qq5-4p4r (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories