Skip to content
OpenAdvisories
Medium · 4.2 CVE-2025-58067 EUVD-2025-26391GHSA-5jch-xhw4-r43v

Basecamp's Google Sign-In for Rails allowed redirects to protocol-relative URI

Published Aug 29, 2025 · Updated Sep 2, 2025 · Assigned by GitHub_M

Description

Basecamp's Google Sign-In adds Google sign-in to Rails applications. Prior to version 1.3.1, it is possible to redirect a user to another origin if the "proceed_to" value in the session store is set to a protocol-relative URL. Normally the value of this URL is only written and read by the library or the calling application. However, it may be possible to set this session value from a malicious site with a form submission. Any Rails applications using the google_sign_in gem may be vulnerable, if this vector can be chained with another attack that is able to modify the OAuth2 request parameters. This issue has been patched in version 1.3.1. There are no workarounds.

Affected products

VendorProductAffectedFixed
basecamp google_sign_in < 1.3.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems google_sign_in < 1.3.1 1.3.1 GHSA-5jch-xhw4-r43v

References