Live threats

All CVEs / Discourse

CVE-2021-41263Discourse Rails Multisite

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
0.6%
probability of exploitation in 30 days · percentile 45
Auth required
Yes
Published
Nov 15, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-565, CWE-327
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails Multisite.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rails_multisite < 4.0.0 4.0.0 gem "rails_multisite", ">= 4.0.0"

Per OSV / GitHub Advisories (GHSA-844m-cpr9-jcmh). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
discourserails_multisite< 4.0.0

Official sources

References

Links published by the sources. Open them with care.