CVE-2026-21696: Pterodactyl endlessly reprocesses/reuploads activity log data due to SQLite max parameters limit not being considered
Summary Wings does not consider SQLite max parameter limit when processing activity log entries allowing for low privileged user to trigger a condition that floods the panel with activity records Details After wings sends activity logs to the panel it deletes the processed activity entries from the wings SQLite database. However, it does not consider the max parameter limit of SQLite, 32766 as of SQLite 3.32.0.
Published Jan 20, 2026 · Updated Feb 2, 2026
Affected packages
github.com/pterodactyl/wings
- Ecosystem
- Go
- Affected
- >= 1.7.0, < 1.12.0
- Fixed in
- 1.12.0
- Check
go list -m github.com/pterodactyl/wings
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Wings does not consider SQLite max parameter limit when processing activity log entries allowing for low privileged user to trigger a condition that floods the panel with activity records
Details
After wings sends activity logs to the panel it deletes the processed activity entries from the wings SQLite database. However, it does not consider the max parameter limit of SQLite, 32766 as of SQLite 3.32.0.
If wings attempts to delete more than 32766 entries from the SQLite database in one query, it triggers an error (SQL logic error: too many SQL variables (1)) and does not remove any entries from the database. These entries are then indefinitely re-processed and resent to the panel each time the cron runs.
https://github.com/pterodactyl/wings/blob/9ffbcdcdb1163da823cf9959b9602df9f7dcb54a/internal/cron/activity_cron.go#L81 https://github.com/pterodactyl/wings/blob/9ffbcdcdb1163da823cf9959b9602df9f7dcb54a/internal/cron/sftp_cron.go#L86
PoC
Any method that can create the required 32767+ activity entries can trigger this vulnerability. It can (and has) been triggered by normal (non-malicious) use. I attached a simple PoC I used while verifying this that uses sftp to quickly create many small files, thus creating activity entries in the SQLite database. https://ptero.co/mococesoca.go
Impact
By successfully exploiting this vulnerability you can trigger a situation where wings will keep uploading the same activity data to the panel repeatedly (growing each time to include new activity) until the panels’ database server runs out of disk space.
Credited to danny6167.
References
- https://github.com/pterodactyl/wings/security/advisories/GHSA-2497-gp99-2m74
- https://nvd.nist.gov/vuln/detail/CVE-2026-21696
- https://github.com/pterodactyl/panel/commit/09caa0d4995bd924b53b9a9e9b4883ac27bd5607
- https://github.com/pterodactyl/panel/releases/tag/v1.12.0
- https://github.com/pterodactyl/wings/blob/9ffbcdcdb1163da823cf9959b9602df9f7dcb54a/internal/cron/activity_cron.go#L81
- https://github.com/pterodactyl/wings/blob/9ffbcdcdb1163da823cf9959b9602df9f7dcb54a/internal/cron/sftp_cron.go#L86
- https://github.com/advisories/GHSA-2497-gp99-2m74
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-52855
Wings exposes node configuration secrets through egg configuration-file templating
critical9.9Jul 31, 2026CVE-2026-52856
Wings: Maliciously crafted packet during SFTP connection handshake causes denial of service
high7.5Jul 31, 2026CVE-2026-52857
Wings: Maliciously or erroneously created parsed config files can cause wings process to OOM
medium5.5Jul 31, 2026CVE-2026-54593
Pterodactyl's improper JWT scoping allows subuser to upload files when not explicitly granted `file.create` permissions
high8.1Jul 28, 2026GHSA-rhq6-9rgh-v45c
Pterodactyl Wings: Chmod operation can be used to change permissions of files outside of the server container
medium5.0Jun 26, 2026GHSA-hr7j-63v7-vj7g
Pterodactyl Panel's SFTP sessions remain active after user account deletion or password change
high7.5Feb 17, 2026
