CVEBrief

Home / CVE-2026-40470

CVE-2026-40470: is it exploited, and which versions are affected and fixed?

CVE-2026-40470 is a cross-site scripting (XSS) vulnerability. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: hackage-server from 0.1 before 0.6 (CVE record by redhat-cnalr). Fixed in 0.6 (CVE record by redhat-cnalr). Severity: Critical (9.9, CVSS 3.1, from redhat-cnalr).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
hackage-server from 0.1 before 0.6
CVE record by redhat-cnalr
Fixed in
0.6
CVE record by redhat-cnalr
Severity
Critical 9.9
CVSS 3.1 from redhat-cnalr
Exploit odds (EPSS)
0.32% in 30 days
higher than 27% of CVEs; FIRST, December 2, 2026

What is CVE-2026-40470?

Hackage package and doc upload stored XSS vulnerability

A critical XSS vulnerability affected hackage-server and hackage.haskell.org. HTML and JavaScript files provided in source packages or via the documentation upload facility were served as-is on the main hackage.haskell.org domain. As a consequence, when a user with latent HTTP credentials browses to the package pages or documentation uploaded by a malicious package maintainer, their session can be hijacked to upload packages or documentation, amend maintainers or other package metadata, or perform any other action the user is authorised to do.

From the CVE record by redhat-cnalr, last updated April 23, 2026, 16:22 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
hackage-serverfrom 0.1 before 0.60.6

As the CVE record by redhat-cnalr states it, last updated April 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-40470?

ScoreVersionVectorSource
Critical 9.9CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:Lredhat-cnalr

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-40470 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 23, 2026)
EPSS
0.32% probability of exploitation activity in the next 30 days, percentile 27.1 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 13, 2026
Published
April 23, 2026, 14:53 UTC
CVE record updated
April 23, 2026, 16:22 UTC by redhat-cnalr
NVD
Awaiting Analysis, last modified June 17, 2026, 10:45 UTC
Last checked
CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

Which other CVEs were published on April 23, 2026?

Every CVE published on April 23, 2026

Questions about CVE-2026-40470

Is CVE-2026-40470 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions are affected by CVE-2026-40470?

hackage-server from 0.1 before 0.6, per the CVE record by redhat-cnalr. The tables above give every range the sources list.

Which version fixes CVE-2026-40470?

0.6, per the CVE record by redhat-cnalr. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-40470?

Critical (9.9, CVSS 3.1, from redhat-cnalr). The severity table above shows each score with its source.

Where is the official record of CVE-2026-40470?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.