Live threats

All CVEs / Rubyonrails

CVE-2019-5420Rubyonrails Rails

Critical 9.8 No auth neededHigh EPSS

Priority
83
CVSS 3.1
9.8
EPSS
89.3%
probability of exploitation in 30 days · percentile 100
Auth required
No
Published
Mar 27, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77, CWE-330
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically generated development mode secret token. This secret token can be used in combination with other Rails internals to escalate to a remote code execution exploit.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems railties ≥ 5.2.0 < 5.2.2.1 5.2.2.1 gem "railties", ">= 5.2.2.1"

Per OSV / GitHub Advisories (GHSA-m42h-mh85-4qgc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails< 5.2.2.1
rubyonrailsrails6.0.0
rubyonrailsrails6.0.0
debiandebian_linux8.0
fedoraprojectfedora30

Official sources

References

Links published by the sources. Open them with care.