Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/pterodactyl/wings
  4. ›
  5. CVE-2026-52855

CVE-2026-52855: Wings exposes node configuration secrets through egg configuration-file templating

July 31, 2026

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.

References

  • github.com/advisories/GHSA-pfvc-3p5h-x7h6
  • github.com/pterodactyl/wings/commit/eb65e27ae077a63e38518c490768486af1cd86a9
  • github.com/pterodactyl/wings/releases/tag/v1.12.3
  • github.com/pterodactyl/wings/security/advisories/GHSA-pfvc-3p5h-x7h6
  • nvd.nist.gov/vuln/detail/CVE-2026-52855

Code Behaviors & Features

Detect and mitigate CVE-2026-52855 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.12.3

Fixed versions

  • 1.12.3

Solution

Upgrade to version 1.12.3 or above.

Impact 9.9 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-522: Insufficiently Protected Credentials

Source file

go/github.com/pterodactyl/wings/CVE-2026-52855.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 01 Aug 2026 12:16:39 +0000.