Server-side request forgery in hackney
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.
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://[email protected]/, 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | hackney | before 1.21.0 | 1.21.0 | Patch available | CNA |
| — | hackney (Hex) | before 1.21.0 | 1.21.0 | Patch available | GHSA-vq52-99r9-h5pw |
- hackney Vendor— Affected before 1.21.0 Fixed in 1.21.0 Patch available CNA
- hackney (Hex) Vendor— Affected before 1.21.0 Fixed in 1.21.0 Patch available GHSA-vq52-99r9-h5pw
Remediation
- Fix · CNA hackney Fixed in 1.21.0
- Fix · GHSA-vq52-99r9-h5pw hackney (Hex) Fixed in 1.21.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-1211
- 2026-10-03 Alias added: GHSA-vq52-99r9-h5pw
References
Other 5
- https://gist.github.com/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1
- https://www.blackhat.com/docs/us-17/thursday/us-17-Tsai-A-New-Era-Of-SSRF-Exploiting-URL-Parser-In-Trending-Programming-Languages.pdf
- https://github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a
- https://github.com/benoitc/hackney
- https://github.com/benoitc/hackney/releases/tag/1.21.0
Sources
- CVE-2025-1211 · CVE Program
- CVE-2025-1211 · NVD
- FIRST EPSS
- GHSA-vq52-99r9-h5pw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences