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

High severity, published 2026-07-28. Update pterodactyl/panel to 1.12.3 or later: composer update pterodactyl/panel.

Canonical URL: https://buzzphp.com/security/ghsa-8r6w-3qq5-4p4r · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.1) |
| Published | 2026-07-28 |
| Updated | 2026-07-28 |
| CVE | [CVE-2026-54593](https://nvd.nist.gov/vuln/detail/CVE-2026-54593) |
| GHSA | [GHSA-8r6w-3qq5-4p4r](https://github.com/advisories/GHSA-8r6w-3qq5-4p4r) |
| Weakness | CWE-1259, CWE-1270 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| pterodactyl/panel | < 1.12.3 | 1.12.3 |

## What to do

Update pterodactyl/panel to 1.12.3 or later: composer update pterodactyl/panel.

Check which version you run with `composer show pterodactyl/panel`, and every affected package with `composer audit`.

## About this advisory

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.



## Links

- [GHSA-8r6w-3qq5-4p4r on GitHub](https://github.com/advisories/GHSA-8r6w-3qq5-4p4r)
- [CVE-2026-54593 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-54593)
- [All Composer security advisories](https://buzzphp.com/security)
