Secure/signed cookies share secrets between sites in rails_multisite
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
rails_multisite provides multi-db support for Rails applications. In affected versions this vulnerability impacts any Rails applications using `rails_multisite` alongside Rails' signed/encrypted cookies. Depending on how the application makes use of these cookies, it may be possible for an attacker to re-use cookies on different 'sites' within a multi-site Rails application. The issue has been patched in v4 of the `rails_multisite` gem. Note that this upgrade will invalidate all previous signed/encrypted cookies. The impact of this invalidation will vary based on the application architecture.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| discourse | rails_multisite | before 4.0.0 | 4.0.0 | Patch available | CNA |
| — | rails_multisite (RubyGems) | before 4.0.0 | 4.0.0 | Patch available | GHSA-844m-cpr9-jcmh |
- rails_multisite Vendordiscourse Affected before 4.0.0 Fixed in 4.0.0 Patch available CNA
- rails_multisite (RubyGems) Vendor— Affected before 4.0.0 Fixed in 4.0.0 Patch available GHSA-844m-cpr9-jcmh
Remediation
- Fix · CNA rails_multisite (discourse) Fixed in 4.0.0
- Fix · GHSA-844m-cpr9-jcmh rails_multisite (RubyGems) Fixed in 4.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-41263
- 2026-10-03 Alias added: GHSA-844m-cpr9-jcmh
- 2026-10-29 EPSS moved to the 50th–90th percentile
References
Advisory 2
Sources
- CVE-2021-41263 · CVE Program
- CVE-2021-41263 · NVD
- FIRST EPSS
- GHSA-844m-cpr9-jcmh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences