CVE-2026-52857: Wings Maliciously Or Erroneously Created Parsed Vulnerability

MODERATE
Advisory Identifier: GHSA-q6hh-gp44-4hcm
CVSS 5.5
CWE-789 CWE-400 CWE-770
Published
Advisory Summary

CVE-2026-52857 is a MODERATE (CVSS 5.5) maliciously or erroneously created parsed vulnerability (CWE-789: Memory Allocation with Excessive Size Value) affecting Wings libraries in the Go ecosystem. The issue involves maliciously or erroneously created parsed config files can cause wings process to oom. Remediation is available by upgrading affected packages to version 1.13.0.

CVE-2026-52857 at a Glance

CVE Identifier CVE-2026-52857
GHSA Identifier GHSA-q6hh-gp44-4hcm
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-789: Memory Allocation with Excessive Size Value
Affected Product Wings
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-52857

To remediate this vulnerability, upgrade all affected Wings dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/pterodactyl/wings fixed: 1.13.0
Upgrade github.com/pterodactyl/wings to 1.13.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/pterodactyl/wings

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-52857, inspect your project dependencies for Wings:

inspect dependencies for github.com/pterodactyl/wings

Analyze the terminal output to locate any version of Wings in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.13.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-789: Memory Allocation with Excessive Size Value, where the product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated. In Wings, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Config file parsers, `json`, `yaml`, `xml` etc in parser.go have no file size limit/checks, allowing for a giant config file to potentially OOM the wings process. ### Impact All wings users who have an egg with a non-`file` parser configuration file setting.

CVE-2026-52857 Affected Wings Versions

1 component(s)
Fixed Versions:
1.13.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/pterodactyl/wings
Go
< 1.13.0
1.13.0

References

Frequently Asked Questions

What is CVE-2026-52857?
CVE-2026-52857 is a security vulnerability in Wings involving Maliciously or erroneously created parsed config files can cause wings process to OOM under CWE-789: Memory Allocation with Excessive Size Value.
Which Wings versions are affected?
Affected versions include releases prior to 1.13.0 across affected packages: github.com/pterodactyl/wings.
What version fixes CVE-2026-52857?
Upgrading to 1.13.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/pterodactyl/wings affected?
Yes, github.com/pterodactyl/wings is affected in releases prior to 1.13.0. Upgrade your dependency to 1.13.0 or later.
What is the CVSS score of CVE-2026-52857?
CVE-2026-52857 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-52857?
CVE-2026-52857 is classified under CWE-789: Memory Allocation with Excessive Size Value (The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.).
How can I check Go dependencies for CVE-2026-52857?
Run the dependency tree command: 'inspect dependencies for github.com/pterodactyl/wings'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-q6hh-gp44-4hcm",
  "modified" : "2026-07-31T16:15:33Z",
  "published" : "2026-07-31T16:10:57Z",
  "aliases" : [ "CVE-2026-52857" ],
  "summary" : "Wings: Maliciously or erroneously created parsed config files can cause wings process to OOM",
  "details" : "### Summary\nConfig file parsers, `json`, `yaml`, `xml` etc in parser.go have no file size limit/checks, allowing for a giant config file to potentially OOM the wings process.\n\n### Impact\nAll wings users who have an egg with a non-`file` parser configuration file setting.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pterodactyl/wings"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.13.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pterodactyl/wings/security/advisories/GHSA-q6hh-gp44-4hcm"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pterodactyl/wings/commit/5f71f65711b6b9e6f913bec94a7b36d9a5eaae49"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pterodactyl/wings"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pterodactyl/wings/releases/tag/v1.13.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-770", "CWE-789" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-31T16:10:57Z",
    "nvd_published_at" : null
  }
}