A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
    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
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2024-39338

CVE-2024-39338: Axios SSRF Vulnerability

CVE-2024-39338 is a server-side request forgery vulnerability in Axios that exploits path relative URL processing as protocol relative URLs. This article covers the technical details, affected versions, and mitigations.

Published: January 28, 2026

CVE-2024-39338 Overview

CVE-2024-39338 is a Server-Side Request Forgery (SSRF) vulnerability affecting Axios 1.7.2, a widely-used promise-based HTTP client for Node.js and browsers. The vulnerability stems from unexpected behavior where requests for path relative URLs are incorrectly processed as protocol relative URLs, potentially allowing attackers to redirect requests to arbitrary destinations.

Critical Impact

This SSRF vulnerability can enable attackers to access internal services, exfiltrate sensitive data, or pivot to other systems within a network by manipulating URL handling in applications using vulnerable Axios versions.

Affected Products

  • Axios versions prior to patched release (specifically 1.7.2)
  • Node.js applications using vulnerable Axios versions
  • Web applications with server-side Axios implementations

Discovery Timeline

  • 2024-08-12 - CVE-2024-39338 published to NVD
  • 2024-08-23 - Last updated in NVD database

Technical Details for CVE-2024-39338

Vulnerability Analysis

This vulnerability is classified as CWE-918 (Server-Side Request Forgery). The root issue lies in how Axios 1.7.2 handles path relative URLs during request processing. When an application passes a path relative URL (e.g., /api/endpoint) to Axios, the library incorrectly interprets certain URL patterns as protocol relative URLs (e.g., //attacker.com), causing requests to be sent to unintended destinations.

SSRF vulnerabilities are particularly dangerous in server-side applications because they can bypass network security controls. An attacker who can influence the URL parameter passed to Axios may be able to make the vulnerable server issue requests to internal services, cloud metadata endpoints, or other sensitive resources that would normally be inaccessible from external networks.

Root Cause

The vulnerability originates from improper URL parsing logic within Axios that fails to correctly distinguish between path relative URLs and protocol relative URLs. When processing URLs, the library's parsing mechanism mishandles edge cases where path components resemble protocol relative patterns, leading to unintended request routing.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by providing specially crafted URL inputs to an application using Axios. If the application passes user-controlled data to Axios request methods without proper validation, the attacker can redirect server-side requests to arbitrary destinations.

For example, an attacker might supply a malicious path that Axios incorrectly processes as a protocol relative URL, causing the server to issue requests to attacker-controlled infrastructure or internal network resources. This can lead to:

  • Access to internal services and APIs not exposed to the internet
  • Retrieval of cloud instance metadata (e.g., AWS metadata service at 169.254.169.254)
  • Port scanning of internal networks
  • Exfiltration of sensitive data from internal resources

Technical details and proof-of-concept information are available in the Jeff Hacks CVE-2024-39338 Advisory.

Detection Methods for CVE-2024-39338

Indicators of Compromise

  • Unexpected outbound HTTP/HTTPS requests from servers running Node.js applications
  • Requests to internal IP ranges (e.g., 10.x.x.x, 172.16.x.x, 192.168.x.x) or localhost from application servers
  • Attempts to access cloud metadata endpoints (e.g., 169.254.169.254)
  • Anomalous DNS lookups for internal hostnames originating from application servers

Detection Strategies

  • Implement network monitoring to detect unusual outbound traffic patterns from application servers
  • Deploy web application firewalls (WAF) with rules to detect SSRF patterns in request parameters
  • Review application logs for requests containing suspicious URL patterns or unexpected redirects
  • Utilize SentinelOne Singularity to monitor for anomalous network behavior from Node.js processes

Monitoring Recommendations

  • Enable detailed logging for all outbound HTTP requests made by application servers
  • Configure alerts for connections to private IP ranges or cloud metadata endpoints
  • Monitor DNS resolution logs for queries that could indicate SSRF exploitation attempts
  • Implement egress filtering and monitor for violations

How to Mitigate CVE-2024-39338

Immediate Actions Required

  • Audit all applications using Axios to identify vulnerable versions (1.7.2 and potentially earlier)
  • Update Axios to the latest patched version immediately
  • Implement URL validation and sanitization for all user-controlled inputs passed to HTTP clients
  • Deploy network-level controls to restrict outbound requests from application servers

Patch Information

The Axios maintainers have addressed this vulnerability in subsequent releases. Organizations should upgrade to the latest stable version of Axios available from the GitHub Axios Releases page. Review the release notes to confirm the specific version that includes the fix for CVE-2024-39338.

Workarounds

  • Implement strict URL validation before passing any user input to Axios request methods
  • Use allowlists to restrict which domains/hosts the application can make requests to
  • Deploy network egress controls to prevent application servers from accessing internal resources or metadata endpoints
  • Consider using a URL parsing library to validate and normalize URLs before passing them to Axios
bash
# Example: Verify Axios version in your Node.js project
npm list axios

# Update Axios to latest version
npm update axios

# Or install specific patched version
npm install axios@latest

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechAxios

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability2.14%

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

  • Jeff Hacks CVE-2024-39338 Advisory
  • Related CVEs
  • CVE-2025-27152

  • CVE-2024-57965
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
  • English
  • 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