Advisory

GHSA-8c39-xppg-479c

Also known as: CVE-2025-68954, GO-2026-4283

Summary

Pterodactyl does not revoke SFTP access when server is deleted or permissions reduced

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-01-06 17:18 UTC
Modified
2026-02-03 03:13 UTC

Affected packages and fixes

pterodactyl/panel

Packagist · All systems

Affected

  • introduced 0, fixed 1.12.0 (ecosystem)

Fixed versions

1.12.0

Fix

The export has no generic command for this ecosystem.

github.com/pterodactyl/wings

Go · All systems

Affected

  • introduced 0, fixed 1.12.0 (semver)

Fixed versions

1.12.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences