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-2026-42264

CVE-2026-42264: Axios Prototype Pollution Vulnerability

CVE-2026-42264 is a prototype pollution vulnerability in Axios HTTP client affecting versions 1.0.0 to 1.15.1. Attackers can exploit unsanitized config properties to manipulate HTTP requests. This article covers technical details, affected versions, impact, and mitigation steps.

Published: May 18, 2026

CVE-2026-42264 Overview

CVE-2026-42264 is a prototype pollution vulnerability in the Axios HTTP client library affecting versions 1.0.0 through 1.15.1. Axios is a promise-based HTTP client widely used in Node.js applications. The flaw resides in the HTTP adapter, where five configuration properties are read via direct property access without hasOwnProperty guards. When Object.prototype is polluted elsewhere in the process, Axios silently inherits attacker-controlled values on every outbound HTTP request. The affected properties are auth, baseURL, socketPath, beforeRedirect, and insecureHTTPParser. The issue is tracked under [CWE-1321] and was patched in version 1.15.2.

Critical Impact

Attackers who pollute Object.prototype through any dependency in the same Node.js process can redirect outbound HTTP requests, inject authentication credentials, disable TLS-related parser protections, and hijack redirect handling.

Affected Products

  • Axios versions 1.0.0 through 1.15.1 (Node.js)
  • Applications using the Axios HTTP adapter on Node.js
  • Downstream packages bundling vulnerable Axios versions

Discovery Timeline

  • 2026-05-08 - CVE-2026-42264 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-42264

Vulnerability Analysis

The vulnerability stems from unsafe property reads inside the Node.js HTTP adapter at lib/adapters/http.js. Axios accesses configuration properties such as config.auth, config.baseURL, config.socketPath, config.beforeRedirect, and config.insecureHTTPParser directly. JavaScript property reads traverse the prototype chain, so any value set on Object.prototype becomes visible to these reads. If another dependency in the same process pollutes the prototype, Axios silently picks up those values on every outbound request. The attacker does not need to control the Axios call site itself.

Root Cause

The config object passed through mergeConfig was a plain object inheriting from Object.prototype. Combined with missing hasOwnProperty checks on the five exploitable properties, polluted prototype values flowed directly into request construction. The fix introduces a null-prototype config object and routes property access through an own() helper that enforces ownership checks.

Attack Vector

Exploitation requires a co-resident prototype pollution gadget in the same Node.js process. Once Object.prototype is polluted, an attacker can set baseURL to redirect requests to an attacker-controlled host, inject auth to leak credentials, set socketPath to route traffic through a Unix socket, override beforeRedirect to execute attacker-supplied callbacks, or enable insecureHTTPParser to relax parser strictness for request smuggling. The attack vector is network-reachable because triggering depends on the application issuing outbound HTTP calls.

javascript
// Patch excerpt from lib/adapters/http.js
// HTTP basic authentication
let auth = undefined;
// Before: direct prototype-chain read
// if (config.auth) {
//   const username = config.auth.username || '';
//   const password = config.auth.password || '';
// After: own-property guarded read
const configAuth = own('auth');
if (configAuth) {
  const username = configAuth.username || '';
  const password = configAuth.password || '';
  auth = username + ':' + password;
}

Source: Axios commit 47915144

javascript
// Patch excerpt from lib/core/mergeConfig.js
// Use a null-prototype object so that downstream reads such as `config.auth`
// or `config.baseURL` cannot inherit polluted values from Object.prototype
// (see GHSA-q8qp-cvcw-x6jj).
const config = Object.create(null);
Object.defineProperty(config, 'hasOwnProperty', {
  value: Object.prototype.hasOwnProperty,
  enumerable: false,
  writable: true,
  configurable: true,
});

Source: Axios commit 47915144

Detection Methods for CVE-2026-42264

Indicators of Compromise

  • Outbound HTTP requests from Node.js services to unexpected hosts that do not match the application's configured baseURL
  • Unexpected Authorization: Basic headers on requests that should be unauthenticated
  • Requests routed through unfamiliar Unix socketPath values in process telemetry
  • Redirect handling deviations such as new follow-redirect destinations or modified headers

Detection Strategies

  • Inventory package-lock.json and yarn.lock files for Axios versions earlier than 1.15.2
  • Run npm ls axios across build pipelines to surface transitive vulnerable copies
  • Monitor Node.js processes for runtime prototype pollution using tools that hook Object.defineProperty and writes to __proto__
  • Correlate egress proxy logs with expected destinations declared by application configuration

Monitoring Recommendations

  • Capture and alert on anomalous outbound destinations from server-side Node.js workloads
  • Log Axios request configuration at the application layer to detect unexpected socketPath or insecureHTTPParser values
  • Track dependency drift using software composition analysis tied to CI/CD gates

How to Mitigate CVE-2026-42264

Immediate Actions Required

  • Upgrade Axios to version 1.15.2 or later across all production and development dependencies
  • Audit transitive dependencies that may bundle older Axios versions and force resolution to the patched release
  • Review the codebase for other prototype pollution sinks that could chain with this gadget

Patch Information

The fix is included in Axios 1.15.2. See the GitHub Security Advisory GHSA-q8qp-cvcw-x6jj, the merged pull request #10779, and the v1.15.2 release notes. The patch replaces the merged config with a null-prototype object and routes sensitive property reads through an own() helper enforcing hasOwnProperty semantics.

Workarounds

  • Freeze Object.prototype early in process startup using Object.freeze(Object.prototype) to block runtime pollution
  • Run Node.js with --disable-proto=delete to remove the __proto__ accessor on objects
  • Explicitly pass a null-prototype config object to Axios calls in security-sensitive paths until upgrade completes
bash
# Upgrade Axios across the project and enforce resolution
npm install axios@^1.15.2
npm dedupe
npm ls axios

# Optional runtime hardening for Node.js entrypoints
node --disable-proto=delete app.js

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechAxios

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-1321
  • Technical References
  • GitHub Release Notes
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Pull Request

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-42040: Axios Null Byte Encoding Vulnerability

  • CVE-2026-42035: Axios HTTP Client Prototype Pollution

  • CVE-2026-42037: Axios HTTP Client Header Injection Flaw

  • CVE-2024-57965: Axios Origin Validation Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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