GHSA-hr7j-63v7-vj7g: Pterodactyl/panel Pterodactyl Panel's SFTP Sessions Remain Vulnerability

HIGH
CWE-613 CWE-284
Published
Advisory Summary

GHSA-hr7j-63v7-vj7g is a HIGH pterodactyl panel's sftp sessions remain vulnerability (CWE-613: Insufficient Session Expiration) affecting Pterodactyl/panel libraries in the Packagist ecosystem. The issue involves pterodactyl panel's sftp sessions remain active after user account deletion or password change. Remediation is available by upgrading affected packages to version 1.12.1.

GHSA-hr7j-63v7-vj7g at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-hr7j-63v7-vj7g
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-613: Insufficient Session Expiration
Affected Product Pterodactyl/panel
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-hr7j-63v7-vj7g

To remediate this vulnerability, upgrade all affected Pterodactyl/panel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

pterodactyl/panel fixed: 1.12.1
Upgrade pterodactyl/panel to 1.12.1
github.com/pterodactyl/wings fixed: 1.12.1
Upgrade github.com/pterodactyl/wings to 1.12.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for pterodactyl/panel

How to Check if You Are Affected

To determine whether your application is affected by GHSA-hr7j-63v7-vj7g, inspect your project dependencies for Pterodactyl/panel:

inspect dependencies for pterodactyl/panel

Analyze the terminal output to locate any version of Pterodactyl/panel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.12.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Pterodactyl/panel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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 1. Create a user with SFTP access to a server. 2. Connect to the server via SFTP using any SFTP client (e.g. sftp, FileZilla). 3. Keep the SFTP session open and active. 4. Delete the user account from the Pterodactyl Panel. 5. 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 1. Create a user with SFTP access to a server. 2. Establish an active SFTP connection. 3. Change the user's password (including via administrator panel). 4. 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: 1. Server administrators 2. Hosting providers using Pterodactyl Panel Security impact: Deleted users may retain filesystem access longer than intended, which can lead to: 1. Unauthorized data access 2. Data modification or deletion 3. Compliance and security policy violations

GHSA-hr7j-63v7-vj7g Affected Pterodactyl/panel Versions

2 component(s)
Fixed Versions:
1.12.1
Product / Package Ecosystem Affected Versions Fixed Version
pterodactyl/panel
Packagist
< 1.12.1
1.12.1
github.com/pterodactyl/wings
Go
< 1.12.1
1.12.1

References

Frequently Asked Questions

What is GHSA-hr7j-63v7-vj7g?
GHSA-hr7j-63v7-vj7g is a security vulnerability in Pterodactyl/panel involving Pterodactyl Panel's SFTP sessions remain active after user account deletion or password change under CWE-613: Insufficient Session Expiration.
Which Pterodactyl/panel versions are affected?
Affected versions include releases prior to 1.12.1 across affected packages: pterodactyl/panel, github.com/pterodactyl/wings.
What version fixes GHSA-hr7j-63v7-vj7g?
Upgrading to 1.12.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pterodactyl/panel affected?
Yes, pterodactyl/panel is affected in releases prior to 1.12.1. Upgrade your dependency to 1.12.1 or later.
Is github.com/pterodactyl/wings affected?
Yes, github.com/pterodactyl/wings is affected in releases prior to 1.12.1. Upgrade your dependency to 1.12.1 or later.
What CWE is associated with GHSA-hr7j-63v7-vj7g?
GHSA-hr7j-63v7-vj7g is classified under CWE-613: Insufficient Session Expiration (According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.").
How can I check Packagist dependencies for GHSA-hr7j-63v7-vj7g?
Run the dependency tree command: 'inspect dependencies for pterodactyl/panel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hr7j-63v7-vj7g",
  "modified" : "2026-02-17T17:15:19Z",
  "published" : "2026-02-17T17:15:18Z",
  "aliases" : [ ],
  "summary" : "Pterodactyl Panel's SFTP sessions remain active after user account deletion or password change",
  "details" : "### Summary\nDeleting 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.\nThis can result in unintended and unauthorized access to server files even after administrators believe access has been fully invalidated.\n\n\n### Details\nWhen 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.\n\nNeither 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.\n\nThis behavior occurs even when the password is changed by an administrator through the panel, meaning credential rotation does not revoke active access.\n\nThis 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.\n\n\n### PoC\nScenario 1: Account deletion\n1. Create a user with SFTP access to a server.\n2. Connect to the server via SFTP using any SFTP client (e.g. sftp, FileZilla).\n3. Keep the SFTP session open and active.\n4. Delete the user account from the Pterodactyl Panel.\n5. Continue performing file operations through the already-established SFTP connection.\n\nResult:\nThe SFTP session remains active and usable despite the user account being deleted.\n\nScenario 2: Password change\n1. Create a user with SFTP access to a server.\n2. Establish an active SFTP connection.\n3. Change the user's password (including via administrator panel).\n4. Continue performing file operations using the existing SFTP connection.\n\nResult:\nThe SFTP session remains active and usable even after the password has been changed.\n\n\n### Impact\nThis issue prevents immediate revocation of compromised credentials. Vulnerability type: Access control / session invalidation issue\n\nImpacted parties:\n\n1. Server administrators\n2. Hosting providers using Pterodactyl Panel\n\nSecurity impact:\n\nDeleted users may retain filesystem access longer than intended, which can lead to:\n\n1. Unauthorized data access\n2. Data modification or deletion\n3. Compliance and security policy violations",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "pterodactyl/panel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.12.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pterodactyl/wings"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.12.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pterodactyl/panel/security/advisories/GHSA-hr7j-63v7-vj7g"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pterodactyl/panel/commit/0e74f3aadec89405751ec602c77fc1d030a417c0"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pterodactyl/panel"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pterodactyl/panel/releases/tag/v1.12.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284", "CWE-613" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-17T17:15:18Z",
    "nvd_published_at" : null
  }
}