SCA: security update for locutus (GHSA-vc8f-x9pp-wf5p)

medium Tenable Self-Hosted Container Security Plugin ID 439348

Description

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

- Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Starting in
version 2.0.39 and prior to version 3.0.25, a prototype pollution vulnerability exists in the `parse_str`
function of the npm package locutus. An attacker can pollute `Object.prototype` by overriding
`RegExp.prototype.test` and then passing a crafted query string to `parse_str`, bypassing the prototype
pollution guard. This vulnerability stems from an incomplete fix for CVE-2026-25521. The CVE-2026-25521
patch replaced the `String.prototype.includes()`-based guard with a `RegExp.prototype.test()`-based guard.
However, `RegExp.prototype.test` is itself a writable prototype method that can be overridden, making the
new guard bypassable in the same way as the original — trading one hijackable built-in for another.
Version 3.0.25 contains an updated fix. (CVE-2026-33994)

Solution

Update the locutus library and its related packages to version 3.0.25 or later.

See Also

https://github.com/advisories/GHSA-vc8f-x9pp-wf5p

Plugin Details

Severity: Medium

ID: 439348

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 3/27/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.95

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2026-33994

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 2.9

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/27/2026

Vulnerability Publication Date: 3/27/2026

Reference Information

CVE: CVE-2026-33994