CVE-2025-57821: basecamp google_sign_in · Open Redirect
Affects basecamp google_sign_inSource CVE Database V5
Not known to be exploited · CVSS 4.2 Medium : upgrade to 1.3.0 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.3.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade basecamp google_sign_in to 1.3.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| basecamp google_sign_in | Affected
| Fixed in
|
AI-suggested
1. Upgrade the Basecamp google_sign_in library to version 1.3.0 or later immediately to apply the official patch that fixes the open redirect vulnerability. 2. For applications where upgrading is not immediately possible, explicitly set the SameSite attribute on session cookies to Lax or Strict to prevent session cookie injection and reduce the risk of chained attacks. 3. Implement strict input validation and URL whitelisting on redirect parameters to ensure only trusted URLs are used in redirects. 4. Educate users about the risks of clicking on suspicious links and implement anti-phishing measures such as email filtering and link scanning. 5. Monitor application logs for unusual redirect patterns or suspicious URL parameters that could indicate exploitation attempts. 6. Conduct security code reviews and penetration testing focused on authentication and session management components to identify and remediate related weaknesses.
Description
Basecamp's Google Sign-In adds Google sign-in to Rails applications. Prior to version 1.3.0, it is possible to craft a malformed URL that passes the "same origin" check, resulting in the user being redirected to another origin. Rails applications configured to store the flash information in a session cookie may be vulnerable, if this can be chained with an attack that allows injection of arbitrary data into the session cookie. This issue has been patched in version 1.3.0. If upgrading is not possible at this time, a way to mitigate the chained attack can be done by explicitly setting SameSite=Lax or SameSite=Strict on the application session cookie.
References
- github.com/basecamp/google_sign_in/security/advisories/GHSA-7pwc-wh6m-44q3 (opens in a new tab)
- github.com/basecamp/google_sign_in/pull/73 (opens in a new tab)
- github.com/basecamp/google_sign_in/commit/85903651201257d4f14b97d4582e6d968ac32f15 (opens in a new tab)
- github.com/basecamp/google_sign_in/releases/tag/v1.3.0 (opens in a new tab)