Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 91%

CVE-2026-42565: CWE-601: URL Redirection to Untrusted Site ('Open Redirect') in workos authkit-session

0
Medium
VulnerabilityCVE-2026-42565cvecve-2026-42565cwe-601
Published: 05/11/2026 (05/11/2026, 19:01:28 UTC)
Source: CVE Database V5
Vendor/Project: workos
Product: authkit-session

Description

An open redirect vulnerability (CWE-601) exists in workos authkit-session versions prior to 0.5.1. The vulnerability arises from insufficient validation of the returnPathname value derived from the OAuth state parameter in the AuthService.handleCallback function. Because the state parameter is round-tripped through the identity provider and can be attacker-controlled, this may allow redirection to an external, attacker-controlled site. This issue is fixed in version 0.5.1.

CVSS v3.1

Score 4.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Affected software

GitHub Actionsmore threats →ai
workos/authkit-session
pkg:github/workos/authkit-session
Affected versions
<0.5.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/19/2026, 10:55:00 UTC

Technical Analysis

CVE-2026-42565 describes an open redirect vulnerability in the workos authkit-session package before version 0.5.1. The vulnerability occurs in the AuthService.handleCallback method, which decodes and returns a returnPathname value derived from the OAuth state parameter without validating its origin or scheme. Since the state parameter is passed through the identity provider and can be influenced by an attacker, this lack of validation can lead to redirecting users to malicious external URLs. The vulnerability has a CVSS 3.1 base score of 4.3 (medium severity) and does not impact confidentiality or availability but can lead to limited integrity impact through redirection. The issue is resolved in version 0.5.1.

Potential Impact

The vulnerability allows an attacker to craft a malicious OAuth state parameter that causes the application to redirect users to an attacker-controlled external site. This can facilitate phishing or other social engineering attacks by misleading users. There is no direct impact on confidentiality or availability. The integrity impact is limited to the potential misuse of redirection.

Mitigation Recommendations

Upgrade workos authkit-session to version 0.5.1 or later, where this open redirect vulnerability is fixed. Since this is a client-side library, applying the official update is the recommended remediation. Patch status is confirmed by the vendor stating the issue is fixed in 0.5.1.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-28T17:26:12.084Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a022c38cbff5d86104f7cc7

Added to database: 05/11/2026, 19:21:28 UTC

Last enriched: 05/19/2026, 10:55:00 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 113

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses