GHSA-rhq6-9rgh-v45c: Pterodactyl Wings: Chmod operation can be used to change permissions of files outside of the server container
In wings/internal/ufs/fsunix.go (line 92-94), this function is defined and is used to change permissions of files in the server: This call to the unix function fchmodat(int fd, char name, modet mode, int flags) does not have the flag ATSYMLINKNOFOLLOW set, and Wings neither checks or validate if the target file is a symlink.
Published Jun 26, 2026
Affected packages
github.com/pterodactyl/wings
- Ecosystem
- Go
- Affected
- >= 1.11.9, < 1.12.2
- Fixed in
- 1.12.2
- Check
go list -m github.com/pterodactyl/wings
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
In wings/internal/ufs/fs_unix.go (line 92-94), this function is defined and is used to change permissions of files in the server:
func (fs *UnixFS) fchmodat(op string, dirfd int, name string, mode FileMode) error {
return ensurePathError(unix.Fchmodat(dirfd, name, uint32(mode), 0), op, name)
}This call to the unix function fchmodat(int fd, char* name, mode_t mode, int flags) does not have the flag AT_SYMLINK_NOFOLLOW set, and Wings neither checks or validate if the target file is a symlink. This allows one to change permissions of files or folders outside of the server container by making symlinks to existing files in the host and then chmoding it.
Credited to Vz0n.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-52855
Wings exposes node configuration secrets through egg configuration-file templating
critical9.9Jul 31, 2026CVE-2026-52856
Wings: Maliciously crafted packet during SFTP connection handshake causes denial of service
high7.5Jul 31, 2026CVE-2026-52857
Wings: Maliciously or erroneously created parsed config files can cause wings process to OOM
medium5.5Jul 31, 2026CVE-2026-54593
Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions
high8.1Jul 28, 2026GHSA-hr7j-63v7-vj7g
Pterodactyl Panel's SFTP sessions remain active after user account deletion or password change
high7.5Feb 17, 2026CVE-2025-69199
Pterodactyl websocket endpoints have no visible rate limits or monitoring, allowing for DOS attacks
high6.5Jan 20, 2026
