Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilityproof-of-concept-releasecloud-service-vulnerabilityrapid-weaponization

Critical Axios Flaw Enables Request Smuggling, IMDSv2 Bypass, and Cloud Compromise

Vulnerability Disclosure · 4 sources · Updated 5mo ago · First seen Apr 14, 2026

Critical Axios Flaw Enables Request Smuggling, IMDSv2 Bypass, and Cloud Compromise

A critical vulnerability in the Axios HTTP client library, tracked as CVE-2026-40175, allows attackers to turn polluted JavaScript object properties into malicious HTTP headers and abuse outbound requests for SSRF, request smuggling, and potential remote code execution. Researchers said the flaw stems from improper header handling in Axios’s HTTP adapter and unsafe config merging, which can let Object.prototype values containing CRLF characters be injected into requests. The issue can be chained with prototype pollution in other npm packages to target internal services, including the AWS EC2 metadata endpoint at 169.254.169.254, potentially bypassing IMDSv2 and exposing cloud credentials or broader infrastructure.

A public proof-of-concept was released alongside disclosure, raising urgency for defenders even though active exploitation had not been confirmed at the time of reporting. The flaw affects Axios versions before 1.13.2, while maintainers said 1.15.0 introduces strict header validation that blocks CRLF-based header injection; organizations were urged to upgrade and audit dependencies such as body-parser, qs, and minimist for prototype pollution paths. One report cited internet-wide estimates of more than 48,000 potentially exposed instances, underscoring the risk of unauthorized internal access and possible full cloud compromise.

Why it matters

Impact assessment

CVE-2026-40175 affects organizations using Axios in Node.js applications, especially cloud-hosted services that make outbound HTTP requests and also carry prototype-pollution exposure in adjacent npm dependencies. The impact is potentially severe because the flaw can turn application-side state corruption into SSRF, request smuggling, AWS metadata theft, privilege escalation, and possible broader cloud compromise.

Business impact

  • Affected products: Axios HTTP client, reported vulnerable in versions before 1.13.2; multiple references recommend 1.15.0 or later for robust header validation.
  • Affected environments: Node.js applications using Axios HTTP adapter for outbound requests.
  • High-risk populations: cloud-native applications, serverless/containerized workloads, internal service meshes, and applications with vulnerable dependencies such as qs, minimist, ini, or body-parser.
  • Potential consequences:
    • Exposure of AWS IAM credentials via EC2 metadata access
    • Unauthorized access to internal services through SSRF
    • HTTP request smuggling and cache poisoning
    • Authentication bypass via injected Cookie or Authorization headers
    • Possible remote code execution or full cloud compromise, as claimed in the disclosures
  • Scope: potentially broad due to Axios ubiquity; one report cites more than 48,000 potentially exposed internet-visible instances.
  • Exploitation status: public proof of concept exists; no confirmed in-the-wild exploitation was reported in the references.

Structured facts

  • Entity names:
    • Axios
    • AWS EC2 Instance Metadata Service
    • Netlas
    • Raulvdv
    • Jason Saayman
  • Industries most exposed:
    • Cloud/SaaS providers
    • Enterprises running Node.js web services
    • DevOps/platform engineering teams managing npm-heavy application stacks
  • Exposure characteristics:
    • Requires a prototype-pollution path in the application stack
    • Can be triggered without direct user input into Axios itself
    • Most dangerous where workloads can reach 169.254.169.254 or other internal services
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Apr 13, 2026
  1. Apr 13, 20268mo ago

    Researchers estimate more than 48,000 exposed Axios instances

    Netlas estimated that over 48,000 instances may be directly exposed to the Axios vulnerability, though reporting said active exploitation had not yet been observed and real-world severity was still being evaluated.

  2. Apr 13, 20268mo ago

    Public proof-of-concept exploit for CVE-2026-40175 is published

    A public proof-of-concept exploit for the Axios flaw was released by maintainer Jason Saayman shortly after disclosure, increasing urgency for defenders to patch and assess exposure.

  3. Apr 13, 20268mo ago

    Axios 1.15.0 released to block CRLF header injection

    Axios released version 1.15.0 to address the vulnerability by enforcing stricter header validation and rejecting headers containing CRLF characters. The issue affects versions prior to 1.13.2, and reporting recommends upgrading to the fixed release.

  4. Apr 13, 20268mo ago

    Axios vulnerability CVE-2026-40175 is disclosed

    A critical flaw in the Axios HTTP client, tracked as CVE-2026-40175, was publicly disclosed as enabling request smuggling, SSRF abuse, AWS IMDSv2 bypass, and possible remote code execution or broader cloud compromise when chained with prototype pollution.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.