Junglewise Threat Intelligence

Pterodactyl Wings symlink follow in chmod operation

Severity: medium · CVSS 5 · Published 2026-06-26

Executive brief

Pterodactyl Wings, the server management component for the Pterodactyl game hosting panel, contains a vulnerability that allows users to modify file permissions outside of their assigned server environment. By creating symbolic links to files on the host operating system, a user could potentially gain unauthorized access to or modify sensitive system files. This could lead to a compromise of the host server's integrity and security.

Technical details

A vulnerability exists in the `fchmodat` implementation within `wings/internal/ufs/fs_unix.go` of Pterodactyl Wings. The function calls the underlying Unix `fchmodat` system call without the `AT_SYMLINK_NOFOLLOW` flag and fails to validate if the target path is a symbolic link. An attacker with low-privileged network access to a managed server can create a symlink pointing to a file on the host filesystem and execute a chmod operation to change that host file's permissions. This bypasses container isolation (Scope: Changed) to impact the integrity of the host. The issue is patched in version 1.12.2.

Affected products

  • Pterodactyl Wings >= 1.11.9, < 1.12.2

Timeline

  • 2026-05-23: disclosed: Reported by Vz0n
  • 2026-06-26: advisory: GitHub Advisory published
  • 2026-06-26: patched: Fix released in version 1.12.2

References

Related threats