CVE Explorer
CVE-2026-42565
@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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"authkit-session","vendor":"workos","versions":[{"status":"affected","version":"< 0.5.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:382c1642fb84f74f0f3c25be40711639232e561cc12bad081b18be791b9a3863 · sha256:78fd7e888536d591… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:382c1642fb84f74f0f3c25be40711639232e561cc12bad081b18be791b9a3863 · sha256:78fd7e888536d591… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-601","description":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:382c1642fb84f74f0f3c25be40711639232e561cc12bad081b18be791b9a3863 · sha256:78fd7e888536d591… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/workos/authkit-session/commit/f56e1d6214a93160759e5677b7a3d772b244db39","tags":["x_refsource_MISC"],"url":"https://github.com/workos/authkit-session/commit/f56e1d6214a93160759e5677b7a3d772b244db39"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:382c1642fb84f74f0f3c25be40711639232e561cc12bad081b18be791b9a3863 · sha256:78fd7e888536d591… · /containers/cna/references/1
{"name":"https://github.com/workos/authkit-session/releases/tag/v0.5.1","tags":["x_refsource_MISC"],"url":"https://github.com/workos/authkit-session/releases/tag/v0.5.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:382c1642fb84f74f0f3c25be40711639232e561cc12bad081b18be791b9a3863 · sha256:78fd7e888536d591… · /containers/cna/references/2
{"name":"https://github.com/workos/authkit-session/security/advisories/GHSA-vvvv-983w-r7pv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/workos/authkit-session/security/advisories/GHSA-vvvv-983w-r7pv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:382c1642fb84f74f0f3c25be40711639232e561cc12bad081b18be791b9a3863 · sha256:78fd7e888536d591… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.