Node.js Module axios < 1.15.0 Multiple Vulnerabilities

critical Nessus Plugin ID 306741

Synopsis

A module in the Node.js JavaScript run-time environment is affected by multiple vulnerabilities.

Description

The version of the axios Node.js module installed on the remote host is prior to 1.15.0. It is, therefore, affected by multiple vulnerabilities:

- Axios does not correctly handle hostname normalization when checking NO_PROXY rules. Requests to loopback addresses like localhost. (with a trailing dot) or [::1] (IPv6 literal) skip NO_PROXY matching and go through the configured proxy. This allows attackers to force requests through a proxy, even if NO_PROXY is set up to protect loopback or internal services, leading to the possibility of proxy bypass and SSRF vulnerabilities.
(CVE-2025-62718)

- The Axios library is vulnerable to a specific Gadget attack chain that allows Prototype Pollution in any third-party dependency to be escalated into Remote Code Execution (RCE) or Full Cloud Compromise via AWS IMDSv2 bypass. (CVE-2026-40175)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to axios version 1.15.0 or later.

See Also

http://www.nessus.org/u?a9bfb148

http://www.nessus.org/u?b9fed241

Plugin Details

Severity: Critical

ID: 306741

File Name: nodejs_module_axios_1_15_0.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 4/16/2026

Updated: 4/16/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-40175

CVSS v3

Risk Factor: Critical

Base Score: 10

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Vulnerability Information

CPE: cpe:/a:axios:axios

Required KB Items: installed_sw/Node.js, Host/nodejs/modules/enumerated

Patch Publication Date: 4/9/2026

Vulnerability Publication Date: 4/9/2026

Reference Information

CVE: CVE-2025-62718, CVE-2026-40175

IAVA: 2026-A-0320