SSRF in Hackney

CVE-2025-1211

Versions of the package hackney before 1.21.0 are vulnerable to Server-side Request Forgery (SSRF) due to improper parsing of URLs by URI built-in module and hackey. Given the URL http://127.0.0.1?@127.2.2.2/, the URI function will parse and see the host as 127.0.0.1 (which is correct), and hackney will refer the host as 127.2.2.2/. This vulnerability can be exploited when users rely on the URL function for host checking.

Vulnerability class: SSRF (Server-Side Request Forgery)

EPSS: 0.005 (40.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L.

Affected products

  • N/a Hackney — versions 0

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-1211?
CVE-2025-1211 is a medium-severity vulnerability in Hackney, classified under Server-Side Request Forgery (SSRF). CVSS score: 6.5/10. Published 2025-02-11.
How severe is CVE-2025-1211?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2025-1211 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.