SCA: security update for @acastellon/auth (GHSA-gfj5-979r-92pw)

high Tenable Self-Hosted Container Security Plugin ID 444194

Description

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

- @acastellon/auth is an authentication control system for microservices. Versions prior to 2.3.0 appear to
allow an unauthenticated authentication bypass in validateToken() through spoofable auth-user and Host
request headers. The validateToken middleware contains a service-to-service bypass for auth-user: service-
brother when req.get('host').startsWith(getHostName()). Both values involved in the check can be
influenced by an unauthenticated HTTP client: auth-user is a request header, and Host is also client-
controlled. As a result, a remote unauthenticated attacker can send a request with crafted headers and
bypass token validation before the normal legacy/JWT/OIDC validation logic runs. A fix has been
implemented in v2.3.0. (CVE-2026-58399)

Solution

Update the @acastellon/auth library and its related packages to version 2.3.0 or later.

See Also

https://github.com/advisories/GHSA-gfj5-979r-92pw

Plugin Details

Severity: High

ID: 444194

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 7/1/2026

Updated: 7/6/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.03

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2026-58399

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/18/2026

Vulnerability Publication Date: 6/18/2026

Reference Information

CVE: CVE-2026-58399

cwe: CWE-290