Skip to main content
VulnerabilityPublished

CVE-2026-42565: workos authkit-session · Open Redirect

Affects workos authkit-sessionSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 4.3 Medium : upgrade to 0.5.1 when convenient.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.5.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade authkit-session and workos/authkit-session to 0.5.1.

Affected software

ProductAffectedFixed in
workosauthkit-sessionAffected
  • <0.5.1
Fixed in
  • 0.5.1
GitHubworkos/authkit-sessionpkg:github/workos/authkit-sessionOther threatsAffected
  • <0.5.1
Fixed in
  • 0.5.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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.

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.

References

Community reviews

Loading reviews…