{"api_version":"1","generated_at":"2026-04-25T04:10:16+00:00","cve":"CVE-2026-40471","urls":{"html":"https://cve.report/CVE-2026-40471","api":"https://cve.report/api/cve/CVE-2026-40471.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40471","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40471"},"summary":{"title":"Hackage CSRF vulnerability","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).","state":"PUBLISHED","assigner":"redhat-cnalr","published_at":"2026-04-23 16:16:25","updated_at":"2026-04-24 14:41:55"},"problem_types":["CWE-352","CWE-352 CWE-352 Cross-Site request forgery (CSRF)"],"metrics":[{"version":"3.1","source":"74b3a70d-cca6-4d34-9789-e83b222ae3be","type":"Secondary","score":"9.6","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","baseScore":9.6,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"9.6","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":9.6,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","version":"3.1"}}],"references":[{"url":"https://osv.dev/vulnerability/HSEC-2026-0002","name":"https://osv.dev/vulnerability/HSEC-2026-0002","refsource":"74b3a70d-cca6-4d34-9789-e83b222ae3be","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40471","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40471","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"40471","cve":"CVE-2026-40471","epss":"0.000170000","percentile":"0.042900000","score_date":"2026-04-24","updated_at":"2026-04-25 00:14:35"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-40471","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-04-23T16:18:53.266261Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-04-23T16:22:12.118Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://hackage.haskell.org/package/hackage-server","defaultStatus":"unaffected","packageName":"hackage-server","versions":[{"lessThan":"*","status":"affected","version":"0.1","versionType":"semver"}]}],"datePublic":"2026-03-28T19:04:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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)."}],"value":"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)."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":9.6,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","description":"CWE-352 Cross-Site request forgery (CSRF)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-23T15:02:45.871Z","orgId":"74b3a70d-cca6-4d34-9789-e83b222ae3be","shortName":"redhat-cnalr"},"references":[{"url":"https://osv.dev/vulnerability/HSEC-2026-0002"}],"title":"Hackage CSRF vulnerability","x_generator":{"engine":"Vulnogram 1.0.1"}}},"cveMetadata":{"assignerOrgId":"74b3a70d-cca6-4d34-9789-e83b222ae3be","assignerShortName":"redhat-cnalr","cveId":"CVE-2026-40471","datePublished":"2026-04-23T14:56:34.979Z","dateReserved":"2026-04-13T15:23:17.068Z","dateUpdated":"2026-04-23T16:22:12.118Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-23 16:16:25","lastModifiedDate":"2026-04-24 14:41:55","problem_types":["CWE-352","CWE-352 CWE-352 Cross-Site request forgery (CSRF)"],"metrics":{"cvssMetricV31":[{"source":"74b3a70d-cca6-4d34-9789-e83b222ae3be","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","baseScore":9.6,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW"},"exploitabilityScore":2.8,"impactScore":6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"40471","Ordinal":"1","Title":"Hackage CSRF vulnerability","CVE":"CVE-2026-40471","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"40471","Ordinal":"1","NoteData":"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).","Type":"Description","Title":"Hackage CSRF vulnerability"}]}}}