Echo: axios: security update to 0.31.1

high Tenable Cloud Security Plugin ID 462320

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, a prototype
pollution gadget exists in the Axios HTTP adapter (lib/adapters/http.js) that allows an attacker to inject
arbitrary HTTP headers into outgoing requests. The vulnerability exploits duck-type checking of the data
payload, where if Object.prototype is polluted with getHeaders, append, pipe, on, once, and
Symbol.toStringTag, Axios misidentifies any plain object payload as a FormData instance and calls the
attacker-controlled getHeaders() function, merging the returned headers into the outgoing request. The
vulnerable code resides exclusively in lib/adapters/http.js. The prototype pollution source does not need
to originate from Axios itself — any prototype pollution primitive in any dependency in the application's
dependency tree is sufficient to trigger this gadget. This vulnerability is fixed in 1.15.1 and 0.31.1.
(CVE-2026-42035)

Solution

Update the axios library and its related packages to version 0.31.1 or later.

See Also

https://advisory.echohq.com/cve/CVE-2026-42035

Plugin Details

Severity: High

ID: 462320

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/3/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.66

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.6

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

CVSS Score Source: CVE-2026-42035

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/28/2026

Vulnerability Publication Date: 4/24/2026

Reference Information

CVE: CVE-2026-42035

IAVA: 2026-A-0424-S