{"id":"CVE-2025-58067","published":"2025-08-29T21:05:22Z","modified":"2025-09-02T13:52:49Z","title":"Basecamp's Google Sign-In for Rails allowed redirects to protocol-relative URI","vendor":"basecamp","product":"google_sign_in","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00421,"percentile":0.2811,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/basecamp/google_sign_in/security/advisories/GHSA-5jch-xhw4-r43v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/basecamp/google_sign_in/pull/75","tags":["x_refsource_MISC"]},{"url":"https://github.com/basecamp/google_sign_in/commit/e97aef4626b1bcbd2c6f01f7dd25f12ac855d4cc","tags":["x_refsource_MISC"]},{"url":"https://github.com/basecamp/google_sign_in/releases/tag/v1.3.1","tags":["x_refsource_MISC"]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":5.62},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"basecamp","affectedVersions":[{"vendor":"basecamp","product":"google_sign_in","versions":["< 1.3.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-02T13:52:36.468526Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"google_sign_in","vulnerableRanges":["<1.3.1"],"patched":["1.3.1"],"from":["GHSA-5jch-xhw4-r43v"],"provenance":"source"}],"summary":{"text":"Basecamp's google_sign_in gem, which adds Google sign-in to Rails applications, contains an open redirect flaw: before version 1.3.1, the \"proceed_to\" session value could be set to a protocol-relative URL, redirecting users to another origin. An attacker can exploit this remotely without authentication, but only by submitting a form from a malicious site that sets the session value, a step that requires user interaction, and only when the attack can be chained with another method of modifying the OAuth2 request parameters.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:54Z"},"euvd":{"id":"EUVD-2025-26391","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-basecamp-google-sign-in-cve-2025-57821","parents":[{"from":"CVE-2025-57821","to":"CVE-2025-58067","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:google_sign_in","fromFixed":"1.3.0","toFixed":"1.3.1","daysApart":2},{"kind":"same-code","provenance":"machine","files":["lib/google_sign_in/redirect_protector.rb"],"commits":["https://github.com/basecamp/google_sign_in/commit/85903651201257d4f14b97d4582e6d968ac32f15","https://github.com/basecamp/google_sign_in/commit/a0548a604fb17e4eb1a57029f0d87e34e8499623","https://github.com/basecamp/google_sign_in/commit/e97aef4626b1bcbd2c6f01f7dd25f12ac855d4cc"],"basis":"shared function","functions":["Violation"]},{"kind":"similar","provenance":"machine","score":0.47,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2025-57821","published":"2025-08-27","fixed":"1.3.0","kev":false},{"cve":"CVE-2025-58067","published":"2025-08-29","fixed":"1.3.1","kev":false}],"package":"RubyGems:google_sign_in"}}