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

- Severity: Medium 4.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-08-29T20:07:47.000Z
- Modified: 2026-10-18T21:10:00.120Z
- Also known as: GHSA-5jch-xhw4-r43v
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- basecamp google_sign_in: < 1.3.1
- google_sign_in (RubyGems): before 1.3.1

## Every score

- GitHub_M: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.2 Medium `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> (web)
- <https://github.com/basecamp/google_sign_in/pull/75> (web)
- <https://github.com/basecamp/google_sign_in/commit/e97aef4626b1bcbd2c6f01f7dd25f12ac855d4cc> (web)
- <https://github.com/basecamp/google_sign_in/releases/tag/v1.3.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58067> (advisory)
- <https://github.com/basecamp/google_sign_in> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/google_sign_in/CVE-2025-58067.yml> (web)

## Sources

- CVE List: [CVE-2025-58067](https://www.cve.org/CVERecord?id=CVE-2025-58067), CVE Terms of Use, modified 2025-09-02
- GitHub Advisory Database: [GHSA-5jch-xhw4-r43v](https://github.com/advisories/GHSA-5jch-xhw4-r43v), CC-BY-4.0, modified 2025-09-01
- NVD: [CVE-2025-58067](https://nvd.nist.gov/vuln/detail/CVE-2025-58067), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-58067 · Whole record: https://cve.day/CVE-2025-58067.json · Rebuilt by cve.day 2026-11-25T22:59:03.905Z
