GitHub Advisoryadvisory · Packagist, Go
GHSA-8c39-xppg-479c Pterodactyl does not revoke SFTP access when server is deleted or permissions reduced
HIGH
Official page ↗
- Aliases
- CVE-2025-68954
- Ecosystem
- Packagist, Go
- Packages
- pterodactyl/panel, github.com/pterodactyl/wings
- Severity
- High
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weaknesses
- CWE-613
- Reviewed
- 2026-01-06
Affected packages
• Packagist pterodactyl/panel: < 1.12.0 → fixed in 1.12.0
• Go github.com/pterodactyl/wings: < 1.12.0 → fixed in 1.12.0
Description
Summary
Pterodactyl does not revoke _active_ SFTP connections when a user is removed from a server instance or has their permissions changes with respect to file access over SFTP. This allows a user that was already connected to SFTP to remain connected and access files even after their permissions are revoked.
Details
When a user opens a connection to a server using the Wings SFTP server instance the permissions are checked and returned from the authentication API call made to the Panel. However, credentials are not checked again after the initial handshake. Thus, if a user is removed from a server in the panel or have their permissions modified, those permissions are not updated in the SFTP connection.
As a result, a user that has already gained access to a server's files via the SFTP subsystem will maintain those permissions until disconnected (via Wings restart, or a manual disconnection on their end).
> [!NOTE]
>
> This issue impacts the SFTP subsystem for server files specifically. There is no exposure of Wings private data, or any data outside of a server's local filesystem. Additionally, a user must have been _connected to SFTP at the time of their permissions being revoked_ in order for this issue to be exploited. If a user was not connected, they would not be able to connect once their permissions were reduced.
Fix
Please upgrade to `[email protected]` and `[email protected]` to resolve this issue. Patches are available via the implementation PRs, but it is recommended to apply by upgrading the entire instance.
Related
Weakness · not in database (1)
Alias · CVE (1)
- CVE-2025-68954 Pterodactyl is a free, open-source game server management panel. vulnerability
References
- https://github.com/pterodactyl/panel/security/advisories/GHSA-8c39-xppg-479c web
- https://nvd.nist.gov/vuln/detail/CVE-2025-68954 advisory
- https://github.com/pterodactyl/panel/commit/2bd9d8baddb0e0606e4a9d5be402f48678ac88d5 web
- https://github.com/pterodactyl/panel package
- https://github.com/pterodactyl/panel/releases/tag/v1.12.0 web