CVE-2025-1211 json
Server-side Request Forgery (SSRF) in hackney
published 2025-02-11 20 mo ago modified 2026-06-17 4 mo ago also GHSA-vq52-99r9-h5pw , EUVD-2025-2081
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- hex hackney 1.21.0
- n/a hackney 1.21.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gist.github.com https://gist.github.com/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:L/E:P |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P |
| CNA | 4.0 | 2.9 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:L/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| hex | hackney | <1.21.0 |
1.21.0 |
Affected products
- n/a hackney
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a
web
-
gist.github.com
/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1
exploit, web
-
security.snyk.io
/vuln/SNYK-HEX-HACKNEY-6516131
web
-
blackhat.com
/docs/us-17/thursday/us-17-Tsai-A-New-Era-Of-SSRF-Exploiting-URL-Parser-In-Trending-Programming-Languages.pdf
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-1211
advisory
-
github.com
/benoitc/hackney
package
-
github.com
/benoitc/hackney/releases/tag/1.21.0
web
Sources
- CVE List CVE-2025-1211
- GitHub Advisory GHSA-vq52-99r9-h5pw
- NVD CVE-2025-1211
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.