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

Medium 4.2 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2025-58067?

CVE-2025-58067 is a medium-severity vulnerability in basecamp google_sign_in, published on 29 Aug 2025.

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.

Weakness: CWE-601

Which versions are affected by CVE-2025-58067?

2 open source packages ship an affected version, including google_sign_in.

PackageAffectedFixed in
google_sign_in RubyGemsAll versions1.3.1
google_sign_in RubyGemsAll versions1.3.1

How do I fix CVE-2025-58067?

Upgrade google_sign_in to 1.3.1 or later.

Is CVE-2025-58067 being exploited?

There is no known exploitation of CVE-2025-58067 in the wild and no public exploit code.

Sources

Also known as GHSA-5jch-xhw4-r43v.

Is CVE-2025-58067 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free