Critical Axios Flaw Enables Request Smuggling, IMDSv2 Bypass, and Cloud Compromise
Vulnerability Disclosure · 4 sources · Updated 5mo ago · First seen Apr 14, 2026

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


