PT-2026-32987 · Hackage · Hackage-Server
Published
2026-03-28
·
Updated
2026-04-23
·
CVE-2026-40471
CVSS v3.1
9.6
Critical
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L |
Name of the Vulnerable Software and Affected Versions
hackage-server (affected versions not specified)
Description
The software lacked Cross-Site Request Forgery (CSRF) protection across its endpoints. This allowed scripts on foreign sites to trigger requests to the server, potentially abusing latent credentials to upload packages or perform administrative actions. Additionally, some unauthenticated actions, such as creating new user accounts, could be abused.
Recommendations
Apply the update that implements CSRF middleware to check the
Sec-Fetch-Site header for all requests using HTTP methods other than GET, HEAD, and OPTIONS.Fix
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hackage-Server