SCA: security update for axios (GHSA-w9j2-pvgh-6h63)

medium Tenable Self-Hosted Container Security Plugin ID 441070

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 Axios
library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution
to silently suppress all HTTP error responses (401, 403, 500, etc.), causing them to be treated as
successful responses. This completely bypasses application-level authentication and error handling. The
root cause is that validateStatus is the only config property using the mergeDirectKeys merge strategy,
which uses JavaScript's in operator — an operator that inherently traverses the prototype chain. When
Object.prototype.validateStatus is polluted with () => true, all HTTP status codes are accepted as
success. This vulnerability is fixed in 1.15.1 and 0.31.1. (CVE-2026-42041)

Solution

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

See Also

https://github.com/advisories/GHSA-w9j2-pvgh-6h63

Plugin Details

Severity: Medium

ID: 441070

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 5/5/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.82

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2026-42041

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

Vulnerability Publication Date: 4/24/2026

Reference Information

CVE: CVE-2026-42041