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
    • AI 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-2025-68696

CVE-2025-68696: Jnunemaker Httparty SSRF Vulnerability

CVE-2025-68696 is an SSRF flaw in Jnunemaker Httparty that allows attackers to leak API keys and issue requests to internal servers. This post covers the technical details, affected versions, and mitigation.

Published: April 14, 2026

CVE-2025-68696 Overview

CVE-2025-68696 is a Server-Side Request Forgery (SSRF) vulnerability affecting HTTParty, a popular Ruby gem used for making HTTP requests and consuming RESTful APIs. In versions 0.23.2 and prior, the library fails to properly validate absolute URLs, allowing attackers to bypass the configured base_uri and issue requests to arbitrary destinations, including internal servers and external services.

Critical Impact

This vulnerability enables attackers to leak API keys and credentials, and allows malicious actors to issue unauthorized requests to internal servers, potentially compromising backend infrastructure and sensitive data.

Affected Products

  • jnunemaker httparty versions 0.23.2 and prior
  • Applications using HTTParty with user-controlled URL inputs
  • Ruby applications relying on HTTParty for API integrations

Discovery Timeline

  • December 23, 2025 - CVE CVE-2025-68696 published to NVD
  • January 7, 2026 - Last updated in NVD database

Technical Details for CVE-2025-68696

Vulnerability Analysis

This SSRF vulnerability (CWE-918) exists in HTTParty's request handling logic where absolute URLs provided by users can bypass the intended base_uri configuration. When an application configures HTTParty with a specific base_uri to restrict outbound requests to a particular domain, an attacker can supply a fully-qualified absolute URL that overrides this restriction entirely.

The vulnerability is particularly dangerous in scenarios where HTTParty is used in server-side applications that accept URL parameters from users. Without proper validation, an attacker could craft requests that target internal infrastructure (such as cloud metadata services at 169.254.169.254), exfiltrate API keys or tokens present in the request context, or pivot to attack other internal services.

Root Cause

The root cause lies in the lack of URI safety validation when processing request paths. HTTParty would accept absolute URLs that completely bypass the configured base_uri, failing to verify that the destination host matches the expected target. The library did not raise an exception when an attacker-supplied absolute URI differed from the configured base URI.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying an application endpoint that uses HTTParty to make requests based on user input
  2. Supplying an absolute URL pointing to an internal resource or malicious external server
  3. HTTParty processes the request, bypassing the intended base_uri restriction
  4. The attacker receives responses from internal services or captures credentials included in the request

The patch introduces a new UnsafeURIError exception class and validation logic to detect when an absolute URI doesn't match the configured base_uri:

ruby
  # Exception that is raised when common network errors occur.
  class NetworkError < Foul; end

+  # Exception that is raised when an absolute URI is used that doesn't match
+  # the configured base_uri, which could indicate an SSRF attempt.
+  class UnsafeURIError < Foul; end
end

Source: GitHub Commit

The fix adds URI safety validation in the request processing flow:

ruby
        new_uri = path.clone
      end

+      validate_uri_safety!(new_uri) unless redirect

      # avoid double query string on redirects [#12]
      unless redirect
        new_uri.query = query_string(new_uri)

Source: GitHub Commit

Detection Methods for CVE-2025-68696

Indicators of Compromise

  • Outbound requests from application servers to unexpected internal IP ranges (e.g., 127.0.0.1, 10.x.x.x, 192.168.x.x, 169.254.169.254)
  • Application logs showing HTTParty requests to URLs not matching the configured base_uri
  • Unusual network traffic patterns from web servers to cloud metadata endpoints
  • Evidence of API key or credential extraction in request logs

Detection Strategies

  • Implement network monitoring for outbound connections from application servers to internal IP ranges or cloud metadata services
  • Review application logs for HTTParty requests containing absolute URLs that differ from expected API endpoints
  • Deploy web application firewall rules to detect SSRF patterns in request parameters
  • Use SentinelOne Singularity to monitor for anomalous network behavior from Ruby application processes

Monitoring Recommendations

  • Enable verbose logging for HTTParty requests to capture full request URLs and destinations
  • Configure alerts for any outbound connections to RFC 1918 private IP addresses from production application servers
  • Monitor for increased error rates or exceptions related to UnsafeURIError after patching
  • Track DNS resolution requests for internal hostnames originating from web-facing applications

How to Mitigate CVE-2025-68696

Immediate Actions Required

  • Upgrade HTTParty to a version containing commit 0529bcd6309c9fd9bfdd50ae211843b10054c240 or later
  • Audit all application code that passes user-controlled input to HTTParty methods
  • Implement allowlist validation for any URL parameters accepted by the application
  • Review application logs for evidence of exploitation attempts

Patch Information

The vulnerability has been patched in HTTParty via commit 0529bcd. The fix introduces URI safety validation that raises an UnsafeURIError exception when an absolute URI is detected that doesn't match the configured base_uri. Organizations should update their Gemfile to specify a patched version and run bundle update httparty. For detailed patch information, see the GitHub Security Advisory and the commit details.

Workarounds

  • Implement input validation to reject or sanitize any user-provided URLs before passing them to HTTParty
  • Use network segmentation to restrict outbound connections from application servers
  • Deploy a proxy or firewall rule to block requests to internal IP ranges from application servers
  • Add application-level URL validation using Ruby's URI module to ensure URLs match expected patterns
bash
# Example Gemfile update to patch HTTParty
# Update your Gemfile to require patched version
gem 'httparty', '>= 0.23.3'

# Then run bundle update
bundle update httparty

# Verify installed version
bundle info httparty

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechHttparty

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
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