CVE-2025-58067
Ruby vulnerability analysis and mitigation

Overview

Basecamp's Google Sign-In gem (google_sign_in) prior to version 1.3.1 contains a vulnerability (CVE-2025-58067) that was discovered and disclosed on August 29, 2025. The vulnerability affects Rails applications using the google_sign_in gem and allows potential redirection to untrusted sites if the 'proceed_to' value in the session store is set to a protocol-relative URL (GitHub Advisory).

Technical details

The vulnerability occurs when the google_sign_in gem persists an optional URL for redirection after authentication. If this URL is set to a protocol-relative URL, it improperly passes the 'same origin' check, potentially allowing redirection to another origin after authentication. The issue has been assigned a CVSS v3.1 score of 4.2 (Medium) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N. The vulnerability is classified as CWE-601: URL Redirection to Untrusted Site (GitHub Advisory).

Impact

If successfully exploited, this vulnerability could lead to exposure of authentication information when chained with other attacks that can modify OAuth2 request parameters. The vulnerability primarily affects the confidentiality and integrity of the application, with potential for phishing attacks through malicious redirections (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.3.1 of the google_sign_in gem. There are no known workarounds, and users are advised to upgrade to the latest version. The fix includes additional validation to prevent protocol-relative URIs from passing the same-origin check (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68271CRITICAL10
  • RubyRuby
  • openc3
NoYesJan 13, 2026
GHSA-5qw5-wf2q-f538HIGH8.8
  • RubyRuby
  • activerecord-jdbc-adapter
NoYesJan 16, 2026
CVE-2026-22589HIGH7.5
  • RubyRuby
  • spree_core
NoYesJan 10, 2026
CVE-2026-23885MEDIUM6.6
  • RubyRuby
  • alchemy_cms
NoYesJan 19, 2026
GHSA-mpwp-4h2m-765cMEDIUM6.6
  • RubyRuby
  • activejob
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management