CVE-2026-40471

Hackage CSRF vulnerability

State
Published
Severity
9.6 Critical
Published
Apr 23, 2026
Updated
Apr 23, 2026
Reserved
Apr 13, 2026

Read the record on cve.org

Description

hackage-server lacked Cross-Site Request Forgery (CSRF) protection across its endpoints. Scripts on foreign sites could trigger requests to hackage server, possibly abusing latent credentials to upload packages or perform other administrative actions. Some unauthenticated actions could also be abused (e.g. creating new user accounts).

Scores

CVSSScoreVectorSource
3.19.6 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:Lredhat-cnalr

Weaknesses

  • CWE-352 Cross-Site request forgery (CSRF)

Affected Products

ProductVersions
hackage-server
  • 0.1 and laterAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.