CVE-2026-40471
CRITICAL 9.6CVSS 3.1Hackage CSRF vulnerability
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).
- Published
- 23 Apr 2026
- Last modified
- 17 Jun 2026
- Assigned by
- 74b3a70d-cca6-4d34-9789-e83b222ae3be
- NVD status
- Awaiting Analysis
- Weakness
- CWE-352
- Also known as
- HSEC-2026-0002
- Sources
- NVDJSONOSV HSEC-2026-0002JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 74b3a70d-cca6-4d34-9789-e83b222ae3be (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L |
| OSV | HSEC | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Hackage | hackage-server | >= 0.1 |
References
- https://osv.dev/vulnerability/HSEC-2026-0002
- https://github.com/haskell/hackage-server/commit/2de3ae45082f8f3f29a41f6aff620d09d0e74058 · FIX
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 23 Apr 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 28 Mar 2026)