Loading...
Skip to main content

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

CRITICAL

Wings exposes node configuration secrets through egg configuration-file templating

Published July 31, 2026Updated August 18, 2026Source: osv

Summary

### Impact **Type:** Exposure of sensitive information / insufficiently protected credentials leading to privilege escalation and full node compromise. Wings exposes its **entire** daemon configuration to the egg configuration-file templating engine. When Wings renders a server's configuration files, any `{{config.<path>}}` placeholder in a replacement value is resolved against the full marshalled daemon configuration, with no restriction on which paths may be read. Because the Panel substitutes **user-controlled** egg variable values into these replacements before sending them to Wings, a low-privileged user can smuggle a `{{config.*}}` placeholder through a variable value. The placeholder is then resolved by Wings and written into a file inside the user's own server, where it can be read via the file manager or SFTP. This allows reading, among other values: - `{{config.token}}` - the node's daemon token, which is both the API bearer for   the Panel⇆Wings channel **and** the HMAC signing key for every JWT the node   issues; - `{{config.token_id}}`; - `{{config.docker.registries}}` - configured container-registry credentials. **Who is impacted:** Any deployment where a user who is not fully trusted can set an egg variable value (e.g. a server owner or a subuser with the `startup.update` permission) **and** the server's egg renders a user-editable variable into a configuration file via `{{server.build.env.*}}`. This pattern is common across stock and community eggs, so most multi-tenant / shared-hosting deployments are affected. **Resulting impact:** Disclosure of the node daemon token lets the attacker forge authentication tokens and act against **every server on that node**, a full-node compromise reachable from a low-privileged account. ### Patches Yes. Fixed in **Wings `v1.12.3`** (Panel is unaffected; the fix is Wings-only). Wings no longer exposes its full configuration to the templating engine only an explicit, non-secret subset (the Docker network interface) can be resolved by `{{config.*}}` placeholders. Users should upgrade Wings to `v1.12.3` or later. **After upgrading, rotate the affected nodes' daemon tokens**, since a previously exfiltrated token remains valid until rotated (Admin → Nodes → Configuration → reset the token, then re-deploy `config.yml` to the node). ### Workarounds For operators who cannot upgrade immediately: - Audit your eggs and ensure no **user-editable** variable is rendered into a   configuration file, or mark such variables non-editable. These reduce exposure but are not a complete fix; upgrading Wings is the recommended action.

Advisory Timeline

  • First published July 31, 2026 (73 days ago).
  • Last revised August 18, 2026 — 18 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/pterodactyl/wings to 1.12.3 or later
go get github.com/pterodactyl/wings@v1.12.3

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/pterodactyl/wings
go
All versions1.12.3

Vulnerability Classification

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

CVSS Score Breakdown

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

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

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

Frequently Asked Questions

What is CVE-2026-52855?
Wings exposes node configuration secrets through egg configuration-file templating This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2026-52855?
CVE-2026-52855 affects github.com/pterodactyl/wings. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-52855 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-pfvc-3p5h-x7h6
GO-2026-6158

Related CVEs

  • 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-107806
    CRITICAL

    Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite

  • CVE-2026-68582
    CRITICAL

    Vikunja: Link-share token reads any tenant's kanban buckets and enumerates usernames/IDs instance-wide (BOLA)

  • CVE-2026-54593
    HIGH

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

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies