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).
Published: 2026-04-23
Score: 9.6 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Request Forgery
Action: Immediate Patch
AI Analysis

Impact

hackage‑server was found to lack cross‑site request forgery protection. The vulnerability allows an attacker to craft malicious scripts hosted on a foreign domain that trick a victim’s browser into issuing authenticated or unauthenticated requests to the hackage server. This can be used to upload malicious packages, change repository metadata, or create new user accounts, potentially affecting the integrity of the package repository. The weakness is a classic CSRF flaw (CWE‑352).

Affected Systems

The target product is hackage‑server; no specific version range is listed in the advisory, so all installations of hackage‑server are potentially affected until a patch is applied.

Risk and Exploitability

The CVSS score of 9.6 indicates that the flaw is severe. The EPSS score of less than 1 % suggests that exploitation is considered unlikely at present, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be a remote client‑side attack where the user’s browser is tricked into sending requests, which means that any user who accesses a malicious page while authenticated to hackage‑server faces risk. As the vulnerability allows both authenticated and some unauthenticated administrative actions, an attacker could gain administrative capabilities such as uploading packages or creating accounts once credentials are compromised or new accounts are created. The combination of a high severity score and low exploitation probability still warrants prompt mitigation.

Generated by OpenCVE AI on April 28, 2026 at 23:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any available hackage‑server patch or upgrade to the latest release that includes CSRF protection
  • If an upgrade is not yet available, restrict administrative endpoints to authenticated and authenticated+CSRF‑token validated requests; configure the server to require a custom header or token for those actions
  • Block or filter cross‑origin requests to administrative endpoints using a web‑application firewall or reverse‑proxy that inspects the Referer and Origin headers
  • Enable two‑factor authentication for all administrative users to mitigate credential abuse
  • Monitor logs for repeated account creation or suspicious package uploads that may indicate a CSRF exploitation attempt

Generated by OpenCVE AI on April 28, 2026 at 23:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Apr 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Hackage-server
Hackage-server hackage-server
Vendors & Products Hackage-server
Hackage-server hackage-server

Thu, 23 Apr 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 23 Apr 2026 15:45:00 +0000

Type Values Removed Values Added
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).
Title Hackage CSRF vulnerability
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L'}


Subscriptions

Hackage-server Hackage-server
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat-cnalr

Published:

Updated: 2026-04-23T16:22:12.118Z

Reserved: 2026-04-13T15:23:17.068Z

Link: CVE-2026-40471

cve-icon Vulnrichment

Updated: 2026-04-23T16:19:14.233Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-04-23T16:16:25.640

Modified: 2026-04-24T14:41:55.890

Link: CVE-2026-40471

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T00:00:13Z

Weaknesses