CVE-2026-42565
Last modified
CVE-2026-42565 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. @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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
@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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-42565?
How severe is CVE-2026-42565?
How do I fix CVE-2026-42565?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4256Improper neutralization of special elements used in an LDAP …8.2
- CVE-2026-42560auth provides authentication via oauth2, direct and email. F…9.1
- CVE-2026-42561Python-Multipart is a streaming multipart parser for Python.…7.5
- CVE-2026-42562Plainpad is a self hosted note taking app. Prior to version …8.3
- CVE-2026-42563Dulwich is a pure-Python implementation of the Git file form…7.7
- CVE-2026-42564jotty·page is a self-hosted app for your checklists and note…8.2
- CVE-2026-42566Meshtastic is an open source mesh networking solution. Prior…7.5
- CVE-2026-42567Svelte is a performance oriented web framework. From version…7.5
- CVE-2026-42568Yamcs is a mission control framework. Prior to versions 5.13…4.3
- CVE-2026-42569phpVMS is a PHP application to run and simulate an airline. …9.4
- CVE-2026-4257The Contact Form by Supsystic plugin for WordPress is vulner…9.8
- CVE-2026-42570Svelte devalue is a JavaScript library that serializes value…7.5
Are you affected by CVE-2026-42565?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
