{"answers":{"affected":"4 open source packages ship an affected version, including faraday. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-25765 in the wild and no public exploit code.","fix":"Upgrade faraday to a fixed version for your release line: 1.10.5 or 2.14.1.","what":"CVE-2026-25765 is a medium-severity server-side request forgery vulnerability in lostisland faraday, published on 9 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-25765 and fix it if it is affected.\n\nWhat it is: CVE-2026-25765 is a medium-severity server-side request forgery vulnerability in lostisland faraday, published on 9 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-25765 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- faraday (RubyGems): affected from 1.0.0; fixed in 1.10.5\n- faraday (RubyGems): affected from 1.0.0; fixed in 1.10.5\n- faraday (RubyGems): affected from 2.0.0; fixed in 2.14.1\n- faraday (RubyGems): affected from 2.0.0; fixed in 2.14.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-25765/ (Markdown: https://insights.sbomify.com/CVE-2026-25765/index.md)","id":"CVE-2026-25765","markdown":"https://insights.sbomify.com/CVE-2026-25765/index.md","name":"CVE-2026-25765","record":{"aliases":["AZL-77631","AZL-77639","CLEANSTART-2026-FV59211","CLEANSTART-2026-PM67470","DEBIAN-CVE-2026-25765","GHSA-33mh-2634-fwr2","MINI-2q6m-h48j-jpvq","MINI-4qxc-47j8-hf5c","MINI-534j-f9x3-p974","MINI-562x-fpgh-r3hp","MINI-6559-xmmm-j3cq","MINI-68fq-725p-cvw7","MINI-7497-3hh6-jcwm","MINI-77r2-8h78-jg8w","MINI-8rq8-vvfm-pf4g","MINI-9mqf-h3cm-xp5r","MINI-gc7m-2vwr-48xj","MINI-gfhw-72f2-4j49","MINI-mqg9-33ww-944p","MINI-pm9q-vh64-vp9r","MINI-q379-g6j8-v4wx","MINI-qv37-qh3g-j8fj","MINI-qvcw-3ggc-527p","MINI-qwqw-6ghr-5wwm","MINI-rv98-3v5r-mqph","MINI-v3qr-qf46-fcc7","MINI-v3vw-5phm-5754","MINI-wf6w-w39g-6r7c","UBUNTU-CVE-2026-25765"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby HTTP client library","requires_auth":"none","summary":"An attacker can exploit a protocol-relative URL handling flaw in the Faraday Ruby library to redirect requests to arbitrary hosts, enabling Server-Side Request Forgery.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"faraday","vendor":"faraday_project"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Faraday is an HTTP client library abstraction layer that provides a common interface over many adapters. Prior to 2.14.1, Faraday's build_exclusive_url method (in lib/faraday/connection.rb) uses Ruby's URI#merge to combine the connection's base URL with a user-supplied path. Per RFC 3986, protocol-relative URLs (e.g. //evil.com/path) are treated as network-path references that override the base URL's host/authority component. This means that if any application passes user-controlled input to Faraday's get(), post(), build_url(), or other request methods, an attacker can supply a protocol-relative URL like //attacker.com/endpoint to redirect the request to an arbitrary host, enabling Server-Side Request Forgery (SSRF). This vulnerability is fixed in 2.14.1.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Faraday affected by SSRF via protocol-relative URL host override in build_exclusive_url","id":"CVE-2026-25765","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":4,"n_references":3,"next":{"headline":"Echo has a Windows path traversal via backslash in middleware.Static default filesystem","id":"CVE-2026-25766"},"packages":[{"ecosystem":"RubyGems","fixed":["1.10.5"],"introduced":["1.0.0"],"last_affected":[],"package":"faraday","purl":null,"source":"GHSA-33mh-2634-fwr2"},{"ecosystem":"RubyGems","fixed":["1.10.5"],"introduced":["1.0.0"],"last_affected":[],"package":"faraday","purl":"pkg:gem/faraday","source":"GHSA-33mh-2634-fwr2"},{"ecosystem":"RubyGems","fixed":["2.14.1"],"introduced":["2.0.0"],"last_affected":[],"package":"faraday","purl":null,"source":"GHSA-33mh-2634-fwr2"},{"ecosystem":"RubyGems","fixed":["2.14.1"],"introduced":["2.0.0"],"last_affected":[],"package":"faraday","purl":"pkg:gem/faraday","source":"GHSA-33mh-2634-fwr2"}],"prev":{"headline":"OpenProject vulnerable to Stored HTML injection","id":"CVE-2026-25764"},"products":["faraday"],"published":"2026-02-09","related":[{"cvss_score":7.5,"headline":"Faraday: Uncontrolled recursion in NestedParamsEncoder allows stack exhaustion DoS via deeply nested query parameters","id":"CVE-2026-54297","kev_date_added":null,"published":"2026-06-24"},{"cvss_score":0,"headline":"Faraday: Protocol-relative URI objects still bypass host scoping (possible incomplete fix for GHSA-33mh-2634-fwr2)","id":"CVE-2026-33637","kev_date_added":null,"published":"2026-05-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-10","vendors":["lostisland"]},"summary":"An attacker can exploit a protocol-relative URL handling flaw in the Faraday Ruby library to redirect requests to arbitrary hosts, enabling Server-Side Request Forgery.","url":"https://insights.sbomify.com/CVE-2026-25765/"}