Vulnerability · Published Aug 29, 2025 · Assigned by GitHub_M
CVE-2025-58067Basecamp's Google Sign-In for Rails allowed redirects to protocol-relative URI
Medium 4.2
In plain English
A medium-severity open redirect in google_sign_in from basecamp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | google_sign_in | 1.3.1 | GHSA-5jch-xhw4-r43v |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| basecamp | google_sign_in | < 1.3.1 |
Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
References
- https://github.com/basecamp/google_sign_in/security/advisories/GHSA-5jch-xhw4-r43v x_refsource_CONFIRM
- https://github.com/basecamp/google_sign_in/pull/75 x_refsource_MISC
- https://github.com/basecamp/google_sign_in/commit/e97aef4626b1bcbd2c6f01f7dd25f12ac855d4cc x_refsource_MISC
- https://github.com/basecamp/google_sign_in/releases/tag/v1.3.1 x_refsource_MISC