SCA: security update for next-auth (GHSA-8fpg-xm3f-6cx3)

critical Tenable Self-Hosted Container Security Plugin ID 445217

Description

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

- NextAuth.js provides authentication for Next.js. From next-auth 5.0.0-beta.0 until 5.0.0-beta.32,
applications that gate access by checking only for the existence of the auth object returned by the auth()
wrapper can fail open when Auth.js has a server configuration error. In middleware, Route Handlers, React
Server Components, and other auth() entry points, a non-OK session response is parsed into a truthy error
object instead of null, so checks such as !!auth and if (req.auth) evaluate to true for unauthenticated
requests. A provider missing both the issuer and authorization endpoint triggers InvalidEndpoints, and an
unset AUTH_SECRET or another server configuration error can produce the same behavior. There is no impact
while configuration is valid, but after a deployment becomes misconfigured, routes protected only by
session existence silently grant access to every visitor. This issue is fixed in next-auth 5.0.0-beta.32.
(CVE-2026-73421)

Solution

Update the next-auth library and its related packages to version 5.0.0-beta.32 or later.

See Also

https://github.com/advisories/GHSA-8fpg-xm3f-6cx3

Plugin Details

Severity: Critical

ID: 445217

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 7/23/2026

Updated: 8/14/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

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

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9.1

Threat Score: 6.9

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/23/2026

Vulnerability Publication Date: 7/23/2026

Reference Information

CVE: CVE-2026-73421