The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-25765

CVE-2026-25765: Faraday HTTP Client SSRF Vulnerability

CVE-2026-25765 is an SSRF vulnerability in Faraday HTTP client library allowing attackers to redirect requests to arbitrary hosts via protocol-relative URLs. This article covers the technical details, affected versions, and mitigation.

Published: February 13, 2026

CVE-2026-25765 Overview

CVE-2026-25765 is a Server-Side Request Forgery (SSRF) vulnerability in Faraday, a popular HTTP client library abstraction layer for Ruby that provides a common interface over many adapters. The vulnerability exists in versions prior to 2.14.1 and stems from improper handling of protocol-relative URLs in the build_exclusive_url method located in lib/faraday/connection.rb.

The core issue lies in how Faraday uses Ruby's URI#merge method to combine a 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 behavior can be exploited by attackers to redirect HTTP requests to arbitrary hosts when user-controlled input is passed to Faraday's request methods.

Critical Impact

Applications using Faraday that pass user-controlled input to request methods (get(), post(), build_url(), etc.) are vulnerable to SSRF attacks, potentially allowing attackers to access internal services, exfiltrate data, or pivot to other systems within the network.

Affected Products

  • Faraday HTTP Client Library versions prior to 2.14.1
  • Ruby applications utilizing vulnerable Faraday versions with user-controlled URL paths
  • Web services and APIs built with Faraday that accept external URL inputs

Discovery Timeline

  • 2026-02-09 - CVE-2026-25765 published to NVD
  • 2026-02-09 - Last updated in NVD database

Technical Details for CVE-2026-25765

Vulnerability Analysis

This SSRF vulnerability (CWE-918) occurs due to the way Faraday's URL building mechanism processes protocol-relative URLs. When an application constructs HTTP requests using Faraday, it typically establishes a base URL for a connection and then appends user-specified paths for individual requests. The build_exclusive_url method uses Ruby's built-in URI#merge functionality to combine these components.

The vulnerability becomes exploitable when user input flows into request methods without proper validation. An attacker can supply a protocol-relative URL such as //attacker.com/endpoint that, according to RFC 3986 URI resolution rules, will override the host component of the base URL while preserving the scheme. This effectively redirects the intended request to an attacker-controlled server.

The impact of this vulnerability includes unauthorized access to internal network resources, potential data exfiltration through redirected requests, and the ability to scan internal services from the perspective of the vulnerable application server.

Root Cause

The root cause is the use of URI#merge in the build_exclusive_url method without proper validation of the user-supplied path parameter. RFC 3986 defines protocol-relative URLs (//host/path) as network-path references that replace the authority component of the base URI. Faraday did not account for this behavior, trusting that paths would be relative and not contain host information.

The fix implemented in version 2.14.1 adds validation to detect and properly handle protocol-relative URLs, preventing the host override behavior that enables SSRF attacks.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker exploits this vulnerability by providing a malicious protocol-relative URL (e.g., //attacker.com/api/endpoint) as input to any application endpoint that uses this input in Faraday request methods.

For example, if an application allows users to specify an API endpoint path, an attacker could submit //internal-service.local/admin instead of a legitimate path like /api/users. The Faraday client would then make the request to internal-service.local instead of the intended API server, potentially exposing internal services to the attacker.

The vulnerability mechanism involves the URL merging behavior in Faraday's connection handling. When a protocol-relative URL is passed to request methods, the URI#merge operation preserves the original scheme but replaces the host with the attacker-supplied domain. See the GitHub Security Advisory for complete technical details.

Detection Methods for CVE-2026-25765

Indicators of Compromise

  • Outbound HTTP/HTTPS requests to unexpected external domains from application servers
  • Network traffic patterns showing requests to internal IP ranges (e.g., 10.x.x.x, 192.168.x.x, 172.16.x.x) originating from web application processes
  • Log entries containing URLs with double-slash prefix patterns (//) in request paths
  • Unusual DNS resolution requests from application servers for internal hostnames

Detection Strategies

  • Monitor application logs for URL patterns containing protocol-relative references (//domain.com/path)
  • Implement network egress monitoring to detect unexpected outbound connections from application servers
  • Use Web Application Firewalls (WAF) to detect and block requests containing protocol-relative URL patterns in user input
  • Deploy dependency scanning tools to identify vulnerable Faraday versions in your codebase

Monitoring Recommendations

  • Enable detailed logging for all outbound HTTP requests made by application services
  • Configure network segmentation alerts for unexpected internal service access patterns
  • Implement Software Composition Analysis (SCA) to track Faraday library versions across all projects
  • Set up alerts for DNS queries to internal domain names from DMZ or public-facing application servers

How to Mitigate CVE-2026-25765

Immediate Actions Required

  • Upgrade Faraday to version 2.14.1 or later immediately
  • Audit all code paths where user input is passed to Faraday request methods (get(), post(), put(), delete(), build_url())
  • Implement input validation to reject URLs containing protocol-relative patterns (//)
  • Review network egress rules to restrict outbound connections from application servers

Patch Information

The vulnerability is fixed in Faraday version 2.14.1. The patch addresses the unsafe URL merging behavior by properly validating and sanitizing user-supplied paths before combining them with the base URL.

  • Fixed Version:2.14.1
  • Patch Commit:a6d3a3a0bf59c2ab307d0abd91bc126aef5561bc
  • Release Notes:Faraday v2.14.1
  • Security Advisory:GHSA-33mh-2634-fwr2

Workarounds

  • Implement strict input validation to reject any user-supplied paths starting with //
  • Use allowlists for permitted URL paths rather than accepting arbitrary user input
  • Deploy network-level controls to restrict outbound connections to known-good destinations
  • Consider implementing a URL proxy service that validates and sanitizes all outbound request destinations
bash
# Update Faraday to the fixed version using Bundler
bundle update faraday --conservative

# Or specify the minimum safe version in your Gemfile
# gem 'faraday', '>= 2.14.1'

# Verify the installed version
bundle show faraday

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechFaraday

  • SeverityMEDIUM

  • CVSS Score5.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Commit Update

  • GitHub Release v2.14.1

  • GitHub Security Advisory GHSA-33mh-2634-fwr2
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English