Unchecked Hostname Resolution Vulnerability in Pterodactyl Wings

github.com/pterodactyl/wings Updated 02 Oct 2025

Summary

23/06/2021
MODERATE
Yes i
Moderate
6.4

GHSA-6rg3-8h8x-5xfv: Impact A newly implemented route allowing users to download files from remote endpoints was not properly verifying the destination hostname for user provided URLs. Affects github.com/pterodactyl/wings versions >= 1.2.0, < 1.2.1. Fixed in 1.2.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Pterodactyl Wings is a Go package that provides functionality for downloading files from remote endpoints. It is commonly used in Pterodactyl Panel, a popular open-source game server management panel. The package allows users to authenticate and download files from remote locations. However, a vulnerability has been discovered in the hostname resolution process, which could potentially allow malicious users to access local network resources that are otherwise inaccessible.

Vulnerability Detail

The vulnerability arises from a newly implemented route in Pterodactyl Wings that fails to properly verify the destination hostname for user-provided URLs. This oversight enables attackers to exploit the vulnerability and gain unauthorized access to resources on local networks. It is important to note that this vulnerability requires valid authentication credentials and is not exploitable by unauthenticated users. While the impact may be limited for instances used by trusted individuals, it is still recommended to upgrade for security purposes.

How To Fix

Minimum fixed version

1.2.1

This is the first release that contains the fix.

go get github.com/pterodactyl/wings@v1.2.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no available workaround for this vulnerability that does not involve modifying the Panel or Wings code. It is recommended to follow the official patch and upgrade to the latest version.

Conclusion

The unchecked hostname resolution vulnerability in Pterodactyl Wings could potentially allow unauthorized access to local network resources. While the impact is limited to instances with valid authentication credentials, it is still recommended to upgrade to the latest version of Pterodactyl Wings (version 1.2.1 or later) to mitigate the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/pterodactyl/wings →

Share this vulnerability

FAQ

No, this vulnerability requires valid authentication credentials and is not exploitable by unauthenticated users.

The vulnerability could allow malicious users to access resources on local networks that would otherwise be inaccessible. This could lead to unauthorized access to sensitive data or systems.

No, only versions 1.2.0 and earlier are affected. Users should upgrade to version 1.2.1 or later to mitigate the vulnerability.

No, there are no workarounds available that do not involve modifying the Panel or Wings code. It is recommended to upgrade to the latest version.

You can find more information about the vulnerability in the official advisory on the GitHub Advisory Database: [link to advisory]

Related vulnerabilities

Recent vulnerabilities recorded for github.com/pterodactyl/wings.

How To Fix

Minimum fixed version

1.2.1

This is the first release that contains the fix.

go get github.com/pterodactyl/wings@v1.2.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback