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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-26)
- **CWE:** CWE-1259, CWE-1270
- **Aliases:** GHSA-8r6w-3qq5-4p4r, GO-2026-6120
- **Published:** 2026-07-28T15:42:56.971Z
- **Modified:** 2026-10-24T13:10:00.147Z

## Who should check

- Projects that depend on Packagist package pterodactyl/panel (\< 1.12.3)
- Projects that depend on Go package github.com/pterodactyl/wings (\< 1.12.2)
- Anyone running pterodactyl panel \< 1.12.3

## 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 and fixed versions

- Packagist `pterodactyl/panel`: affected \< 1.12.3; fixed 1.12.3 (osv)
- Go `github.com/pterodactyl/wings`: affected \< 1.12.2; fixed 1.12.2 (osv)
- pterodactyl panel: \< 1.12.3 (cvelist)

## Mitigation

- Upgrade pterodactyl/panel to 1.12.3 or later.
- Upgrade github.com/pterodactyl/wings to 1.12.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54593. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54593.md
Affected: pterodactyl/panel < 1.12.3; github.com/pterodactyl/wings < 1.12.2
Fixed in: 1.12.3, 1.12.2

Steps:
1. Search this machine and project for pterodactyl/panel (Packagist), github.com/pterodactyl/wings (Go), pterodactyl panel: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54593 being exploited?

There is no confirmed exploitation: CVE-2026-54593 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54593?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-54593?

pterodactyl/panel \< 1.12.3; github.com/pterodactyl/wings \< 1.12.2.

### Is there a fix for CVE-2026-54593?

Yes. Fixed in 1.12.3, 1.12.2. Upgrade pterodactyl/panel to 1.12.3 or later. Upgrade github.com/pterodactyl/wings to 1.12.2 or later.

### How do I check if I'm affected by CVE-2026-54593?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54593>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8r6w-3qq5-4p4r> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-6120> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-54593> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54593>
