{"id":"CVE-2026-52855","aliases":["CVE-2026-52855","GHSA-pfvc-3p5h-x7h6","GO-2026-6158"],"related":[],"kind":"vulnerability","state":"published","title":"Wings exposes node configuration secrets through egg configuration-file templating","summary":"Wings is the server control plane for Pterodactyl, a free, open-source game server management panel. Prior to 1.12.3, {{config.}} placeholders in egg configuration-file templates allow a low-privileged user to read {{config.token}}, {{config.token_id}}, and {{config.docker.registries}} from the full daemon configuration. This issue is fixed in version 1.12.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Wings is the server control plane for Pterodactyl, a free, open-source game server management panel. Prior to 1.12.3, {{config.}} placeholders in egg configuration-file templates allow a low-privileged user to read {{config.token}}, {{config.token_id}}, and {{config.docker.registries}} from the full daemon configuration. This issue is fixed in version 1.12.3.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n**Type:** Exposure of sensitive information / insufficiently protected credentials\nleading to privilege escalation and full node compromise.\n\nWings exposes its **entire** daemon configuration to the egg configuration-file\ntemplating engine. When Wings renders a server's configuration files, any\n`{{config.<path>}}` placeholder in a replacement value is resolved against the\nfull marshalled daemon configuration, with no restriction on which paths may be\nread.\n\nBecause the Panel substitutes **user-controlled** egg variable values into these\nreplacements before sending them to Wings, a low-privileged user can smuggle a\n`{{config.*}}` placeholder through a variable value. The placeholder is then\nresolved by Wings and written into a file inside the user's own server, where it\ncan be read via the file manager or SFTP.\n\nThis allows reading, among other values:\n\n- `{{config.token}}` - the node's daemon token, which is both the API bearer for\n  the Panel⇆Wings channel **and** the HMAC signing key for every JWT the node\n  issues;\n- `{{config.token_id}}`;\n- `{{config.docker.registries}}` - configured container-registry credentials.\n\n**Who is impacted:** Any deployment where a user who is not fully trusted can set\nan egg variable value (e.g. a server owner or a subuser with the `startup.update`\npermission) **and** the server's egg renders a user-editable variable into a\nconfiguration file via `{{server.build.env.*}}`. This pattern is common across\nstock and community eggs, so most multi-tenant / shared-hosting deployments are\naffected.\n\n**Resulting impact:** Disclosure of the node daemon token lets the attacker forge\nauthentication tokens and act against **every server on that node**, a full-node compromise reachable from a low-privileged\naccount.\n\n### Patches\n\nYes. Fixed in **Wings `v1.12.3`** (Panel is unaffected; the fix is Wings-only).\n\nWings no longer exposes its full configuration to the templating engine only an\nexplicit, non-secret subset (the Docker network interface) can be resolved by\n`{{config.*}}` placeholders.\n\nUsers should upgrade Wings to `v1.12.3` or later.\n\n**After upgrading, rotate the affected nodes' daemon tokens**, since a previously\nexfiltrated token remains valid until rotated (Admin → Nodes → Configuration →\nreset the token, then re-deploy `config.yml` to the node).\n\n### Workarounds\n\nFor operators who cannot upgrade immediately:\n\n- Audit your eggs and ensure no **user-editable** variable is rendered into a\n  configuration file, or mark such variables non-editable.\n\nThese reduce exposure but are not a complete fix; upgrading Wings is the\nrecommended action.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Wings exposes node configuration secrets through egg configuration-file templating in github.com/pterodactyl/wings","format":"markdown","source":"go"},{"lang":"es","text":"Wings es el plano de control del servidor para Pterodactyl, un panel de gestión de servidores de juegos gratuito y de código abierto. Antes de 1.12.3, los marcadores de posición {{config.}} en las plantillas de archivos de configuración de huevos permiten a un usuario de bajo privilegio leer {{config.token}}, {{config.token_id}} y {{config.docker.registries}} de la configuración completa del demonio. Este problema está solucionado en la versión 1.12.3.","source":"nvd"}],"published":"2026-07-31T16:16:42.470Z","modified":"2026-10-23T23:10:00.157Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"}],"cwes":["CWE-200","CWE-522"],"affected":[{"ranges":[{"version":"< 1.12.3","status":"affected"}],"vendor":"pterodactyl","product":"wings","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.12.3"}],"ecosystem":"Go","package":"github.com/pterodactyl/wings","purl":"pkg:golang/github.com/pterodactyl/wings","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.12.3"}],"ecosystem":"Go","package":"github.com/pterodactyl/wings","purl":"pkg:golang/github.com/pterodactyl/wings","source":"go"}],"references":[{"url":"https://github.com/pterodactyl/wings/security/advisories/GHSA-pfvc-3p5h-x7h6","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/pterodactyl/wings/commit/eb65e27ae077a63e38518c490768486af1cd86a9","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/pterodactyl/wings/releases/tag/v1.12.3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/pterodactyl/wings","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-31T19:55:26.855Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52855","url":"https://www.cve.org/CVERecord?id=CVE-2026-52855","licence":"CVE Terms of Use","modified":"2026-07-31T19:55:37.770Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pfvc-3p5h-x7h6","url":"https://github.com/advisories/GHSA-pfvc-3p5h-x7h6","licence":"CC-BY-4.0","modified":"2026-08-18T15:10:45.842Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6158","url":"https://pkg.go.dev/vuln/GO-2026-6158","licence":"CC-BY-4.0","modified":"2026-08-18T15:00:18.949Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52855","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52855","licence":"Public domain","modified":"2026-10-23T23:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:30.723Z","epss":{"score":0.0029,"percentile":0.23209,"date":"2026-12-01T12:00:22.000Z"}}