Read the docs
TI-2026-30845 Aliases CVE-2026-42565GHSA-vvvv-983w-r7pv

@workos/authkit-session: Open Redirect via state-derived redirect target

Priority LOW 19CWE-601Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Spoofing
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-601.

Summary

@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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00194 9th percentileScored 2026-11-07
Fix Fixed authkit-session (workos): 0.5.1@workos/authkit-session (npm): 0.5.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
workosauthkit-sessionbefore 0.5.10.5.1Patch availableCNA
—@workos/authkit-session (npm)before 0.5.10.5.1Patch availableGHSA-vvvv-983w-r7pv
  • authkit-session Vendorworkos Affected before 0.5.1 Fixed in 0.5.1 Patch available CNA
  • @workos/authkit-session (npm) Vendor— Affected before 0.5.1 Fixed in 0.5.1 Patch available GHSA-vvvv-983w-r7pv

Remediation

  • Fix · CNA authkit-session (workos) Fixed in 0.5.1
  • Fix · GHSA-vvvv-983w-r7pv @workos/authkit-session (npm) Fixed in 0.5.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-42565
  2. 2026-10-03 Alias added: GHSA-vvvv-983w-r7pv

References

  • TI-2025-40100 authkit-nextjs may let session cookies be cached in CDNs CVSS 4.0HIGH 8.0
  • TI-2024-19668 @workos-inc/authkit-nextjs session replay vulnerability CVSS 3.1HIGH 8.1
  • TI-2025-34712 AuthKit: Sensitive auth data rendered in HTML CVSS 3.1HIGH 7.1
  • TI-2025-34711 AuthKit React Router: Sensitive auth data rendered in HTML CVSS 3.1HIGH 7.1
  • TI-2025-16829 Authentication bypass in workos Hosted AuthKit CVSS 3.1MEDIUM 6.0
  • TI-2024-34658 Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-remix CVSS 4.0LOW 2.1
See all 7 →

Sources