Echo: axios: security update to 0.31.1

low Tenable Self-Hosted Container Security Plugin ID 457148

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, the encode()
function in lib/helpers/AxiosURLSearchParams.js contains a character mapping (charMap) at line 21 that
reverses the safe percent-encoding of null bytes. After encodeURIComponent('\x00') correctly produces the
safe sequence %00, the charMap entry '%00': '\x00' converts it back to a raw null byte. Primary impact is
limited because the standard axios request flow is not affected. This vulnerability is fixed in 1.15.1 and
0.31.1. (CVE-2026-42040)

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-42040

Plugin Details

Severity: Low

ID: 457148

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/5/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

CVSS v2

Risk Factor: Low

Base Score: 2.6

Temporal Score: 2

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

CVSS Score Source: CVE-2026-42040

CVSS v3

Risk Factor: Low

Base Score: 3.7

Temporal Score: 3.4

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/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-42040

IAVA: 2026-A-0424-S