Skip to main content

CVE-2026-54593 — Vulnerability in github.com/pterodactyl/wings

HIGH

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

Published July 28, 2026Updated August 18, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.68%). Schedule for your next planned update.

Does your project use an affected github.com/pterodactyl/wings version?

Paste your go.sum to check it for CVE-2026-54593 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

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 server_uuid, user_uuid, and unique_id, 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.

Impact

Any subuser with permission to connect to a server's console, download files, or download backups could reuse those tokens to upload arbitrary files to the same server. A user that does not have access to a server as a subuser is not able to arbitrarily upload files.

Details

The panel generated JWT tokens for various purposes:

PoC

Create a new subuser that has the minimal amount of permissions on a server (websocket.connect). As that subuser, retrieve a websocket JWT token from the GET /api/client/servers/[...]/websocket endpoint (in my case, I manually just make a request under that user's browser session; you can probably just resend the /websocket request in browser console to get a fresh unused token). Using that websocket token, we can abuse this by directly using it in the /upload/file endpoint of the wings node instead of using it for websocket authentication:

import requests

wings_url = 'http://[...]:8080'
websocket_token = '[...]'

res = requests.post(f'{wings_url}/upload/file', params = {
    'token': websocket_token,
}, files = {
    'files': ('file-upload.txt', b'Hello, World!'),
})
print(res.status_code, res.content)

Observe, that even though our subuser never has permissions outside viewing the console, they are able to write arbitrary files in the server. This pattern happens in a lot of other action, but this is probably the most interesting one.

Advisory Timeline

  • First published July 28, 2026 (121 days ago).
  • Last revised August 18, 2026 — 21 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/pterodactyl/wings to 1.12.2 or later
go get github.com/pterodactyl/wings@v1.12.2
Composer
Update pterodactyl/panel to 1.12.3 or later
composer require "pterodactyl/panel:^1.12.3"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 2 ecosystems: Go (1), Packagist (1).

PackageFixed In
github.com/pterodactyl/wings Go · Affected: All versions1.12.2
pterodactyl/panel Packagist · Affected: v0.1.0-beta, v0.1.1-beta, v0.1.2-beta, v0.2.0-beta (+117 more)1.12.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Frequently Asked Questions

What is CVE-2026-54593?
Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
How do I check if my project is affected by CVE-2026-54593?
CVE-2026-54593 affects github.com/pterodactyl/wings and pterodactyl/panel. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-54593 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.1

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.68%
EPSS percentile: 47.6

This is a below-median EPSS score — only 47.6% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-8r6w-3qq5-4p4r
GO-2026-6120

Related CVEs

  • CVE-2025-49132
    CRITICAL

    Pterodactyl Panel Allows Unauthenticated Arbitrary Remote Code Execution

  • CVE-2024-27102
    CRITICAL

    Pterodactyl Wings vulnerable to improper isolation of server file access

  • CVE-2023-25168
    CRITICAL

    Pterodactyl Wings contains UNIX Symbolic Link (Symlink) Following resulting in deletion of files and directories on the host system

  • CVE-2026-26016
    CRITICAL

    Pterodactyl Panel Allows Cross-Node Server Configuration Disclosure via Remote API Missing Authorization

  • CVE-2026-52855
    CRITICAL

    Wings exposes node configuration secrets through egg configuration-file templating

  • CVE-2026-103035
    HIGH

    TeamPass folder re-parenting authorization bypass

  • CVE-2026-130007
    HIGH

    k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum