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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-07-28T15:42:56.971Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-8r6w-3qq5-4p4r, GO-2026-6120
- Weaknesses: CWE-1259, CWE-1270
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- pterodactyl panel: < 1.12.3
- pterodactyl/panel (Packagist): before 1.12.3
- github.com/pterodactyl/wings (Go): before 1.12.2

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `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> (advisory, web)
- <https://github.com/pterodactyl/panel/pull/5636> (web)
- <https://github.com/pterodactyl/panel/commit/7ffcd636310bb72b54bac3280d2a15e727feded7> (web)
- <https://github.com/pterodactyl/wings/commit/d0ddc80844479302abdaf9654de3bacd511c0f5c> (fix, web)
- <https://github.com/pterodactyl/panel> (package)

## Sources

- CVE List: [CVE-2026-54593](https://www.cve.org/CVERecord?id=CVE-2026-54593), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-8r6w-3qq5-4p4r](https://github.com/advisories/GHSA-8r6w-3qq5-4p4r), CC-BY-4.0, modified 2026-08-18
- Go Vulnerability Database: [GO-2026-6120](https://pkg.go.dev/vuln/GO-2026-6120), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-54593](https://nvd.nist.gov/vuln/detail/CVE-2026-54593), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-54593 · Whole record: https://cve.day/CVE-2026-54593.json · Rebuilt by cve.day 2026-11-25T22:59:30.342Z
