{"id":"CVE-2025-1211","aliases":["CVE-2025-1211","GHSA-vq52-99r9-h5pw"],"related":[],"kind":"vulnerability","state":"published","title":"Server-side Request Forgery (SSRF) in hackney","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/. \nThis vulnerability can be exploited when users rely on the URL function for host checking.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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/. \nThis vulnerability can be exploited when users rely on the URL function for host checking.","source":"cvelist"},{"lang":"en","text":"Versions of the package hackney from 0.0.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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones del paquete hackney a partir de la versión 0.0.0 son vulnerables a Server-side Request Forgery (SSRF) debido al análisis incorrecto de las URL por parte del módulo integrado URI y hackey. Dada la URL http://127.0.0.1?@127.2.2.2/, la función URI analizará y verá el host como 127.0.0.1 (lo cual es correcto), y hackney se referirá al host como 127.2.2.2/. Esta vulnerabilidad puede explotarse cuando los usuarios dependen de la función URL para la verificación del host.","source":"nvd"}],"published":"2025-02-11T05:00:00.994Z","modified":"2026-06-17T08:38:36.677Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","score":6.5,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.21.0","status":"affected"}],"product":"hackney","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.21.0"}],"ecosystem":"Hex","package":"hackney","purl":"pkg:hex/hackney","source":"ghsa"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-HEX-HACKNEY-6516131","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.blackhat.com/docs/us-17/thursday/us-17-Tsai-A-New-Era-Of-SSRF-Exploiting-URL-Parser-In-Trending-Programming-Languages.pdf","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1211","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/benoitc/hackney","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/benoitc/hackney/releases/tag/1.21.0","tags":["web"],"sources":["ghsa"]}],"credits":["Sam Sanoop"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-02-11T15:54:20.603Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-1211","url":"https://www.cve.org/CVERecord?id=CVE-2025-1211","licence":"CVE Terms of Use","modified":"2025-03-16T12:48:56.614Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vq52-99r9-h5pw","url":"https://github.com/advisories/GHSA-vq52-99r9-h5pw","licence":"CC-BY-4.0","modified":"2025-12-10T00:40:06.233Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-1211","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1211","licence":"Public domain","modified":"2026-06-17T08:38:36.677Z"}],"updatedAt":"2026-11-25T22:58:53.946Z","epss":{"score":0.00626,"percentile":0.51363,"date":"2026-12-01T12:00:22.000Z"}}