mediumCVSS 5Vulnerability
GHSA-rhq6-9rgh-v45c
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: ```go 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.
Properties
- ghsa_id
- GHSA-rhq6-9rgh-v45c
- severity
- medium
- summary
- Pterodactyl Wings: Chmod operation can be used to change permissions of files outside of the server container
- cvss_score
- 5
- cve_id
- GHSA-rhq6-9rgh-v45c
- cvss_vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
- is_ghsa_only
- true
- ghsa_published
- 2026-06-26T20:53:00Z
- source_url
- https://github.com/advisories/GHSA-rhq6-9rgh-v45c
- ghsa_updated
- 2026-06-26T20:53:03Z
Related Entities (3)
VULNERABLE_TO (1)
←[Software]go/github.com/pterodactyl/wings
AFFECTS (1)
→[Software]go/github.com/pterodactyl/wings
REPORTED_BY (1)
→[Source]GitHub Advisory Database
Explore deeper with Ninja Signal's threat intelligence graph