SCA: security update for @workos/authkit-session (GHSA-vvvv-983w-r7pv)

medium Tenable Self-Hosted Container Security Plugin ID 441243

Description

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

- @workos/authkit-session is a toolkit for building WorkOS AuthKit framework integrations. Prior to 0.5.1,
an open redirect vulnerability exists in AuthService.handleCallback due to insufficient validation of the
returnPathname value derived from the OAuth state parameter. The state parameter is round-tripped through
the identity provider (IdP) and can be influenced by an attacker. The handleCallback function decodes and
returns returnPathname without enforcing restrictions on origin or scheme. As a result, attacker-
controlled values may be returned to the application. If this value is used directly in a redirect, it may
cause the user to be redirected to an external, attacker-controlled site. This vulnerability is fixed in
0.5.1. (CVE-2026-42565)

Solution

Update the @workos/authkit-session library and its related packages to version 0.5.1 or later.

See Also

https://github.com/advisories/GHSA-vvvv-983w-r7pv

Plugin Details

Severity: Medium

ID: 441243

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 5/6/2026

Updated: 7/2/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: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2026-42565

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/5/2026

Vulnerability Publication Date: 5/5/2026

Reference Information

CVE: CVE-2026-42565

cwe: CWE-601