Intel

AIKIDO-2026-186060

rodauth is vulnerable to Open Redirect

Open RedirectGHSA-h9m4-vm9w-h43m Published Aug 27, 2026

49

Medium Risk

This Affects:

RUBYrodauth
0.0.1 - 2.46.0
Fixed in 2.47.0
Are you affected? Scan for Free

TL;DR

The return-to-path support used after actions such as login, two-factor authentication, and password confirmation did not verify that the stored path was local. A path beginning with a double slash is treated by browsers as a protocol-relative URL, so return-to-requested-location redirects and the confirm_password flow could send an authenticated user to a remote site. This enables phishing that occurs immediately after a legitimate authentication flow. The fix validates that return-to paths start with a single slash, enforces a size limit, and centralizes the check through a configurable validation method.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you enable return-to-requested-location redirects (login_return_to_requested_location? or two_factor_auth_return_to_requested_location?) or use the confirm_password feature.

Background info

rodauth is vulnerable to Open Redirect in versions 0.0.1 - 2.46.0.

How to fix this

Upgrade the rodauth library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform