GHSA-hr7j-63v7-vj7g Pterodactyl Panel's SFTP sessions remain active after user account deletion or password change
Attackers with active SFTP sessions retain file access after account deletion or password changes, bypassing credential revocation mechanisms.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-hr7j-63v7-vj7g?
GHSA-hr7j-63v7-vj7g is a vulnerability in github.com/pterodactyl/wings, published on 17 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Summary
Deleting a user account with SFTP access or changing the user's password does not immediately terminate existing SFTP sessions, allowing continued filesystem access after credentials are revoked. This can result in unintended and unauthorized access to server files even after administrators believe access has been fully invalidated.
Details
When a user with SFTP access is deleted from the Pterodactyl Panel or when the user's password is changed while one or more SFTP connections are active, those existing connections remain fully functional.
Neither account deletion nor password change invalidates the authentication state of already-established SFTP sessions. As a result, the active SFTP connection pool continues to allow read and write operations until the client disconnects or the session times out.
This behavior occurs even when the password is changed by an administrator through the panel, meaning credential rotation does not revoke active access.
This suggests that active SFTP sessions are not tracked or forcefully terminated on credential revocation events. This effectively prevents administrators from responding to credential compromise incidents in real time.
PoC
Scenario 1: Account deletion
- Create a user with SFTP access to a server.
- Connect to the server via SFTP using any SFTP client (e.g. sftp, FileZilla).
- Keep the SFTP session open and active.
- Delete the user account from the Pterodactyl Panel.
- Continue performing file operations through the already-established SFTP connection.
Result: The SFTP session remains active and usable despite the user account being deleted.
Scenario 2: Password change
- Create a user with SFTP access to a server.
- Establish an active SFTP connection.
- Change the user's password (including via administrator panel).
- Continue performing file operations using the existing SFTP connection.
Result: The SFTP session remains active and usable even after the password has been changed.
Impact
This issue prevents immediate revocation of compromised credentials. Vulnerability type: Access control / session invalidation issue
Impacted parties:
- Server administrators
- Hosting providers using Pterodactyl Panel
Security impact:
Deleted users may retain filesystem access longer than intended, which can lead to:
- Unauthorized data access
- Data modification or deletion
- Compliance and security policy violations
Which versions are affected by GHSA-hr7j-63v7-vj7g?
5 open source packages ship an affected version, including github.com/pterodactyl/wings and pterodactyl/panel.
| Package | Affected | Fixed in |
|---|---|---|
github.com/pterodactyl/wings Go | All versions | 1.12.1 |
github.com/pterodactyl/wings Go | All versions | 1.12.1 |
github.com/pterodactyl/wings Go | All versions | 1.12.1 |
pterodactyl/panel Packagist | All versions | 1.12.1 |
pterodactyl/panel Packagist | All versions | 1.12.1 |
How do I fix GHSA-hr7j-63v7-vj7g?
Upgrade github.com/pterodactyl/wings to 1.12.1 or later.
Is GHSA-hr7j-63v7-vj7g being exploited?
There is no known exploitation of GHSA-hr7j-63v7-vj7g in the wild and no public exploit code.
Sources
Also known as GO-2026-4497.