vulnerability

Ruby on Rails: Improper Neutralization of Special Elements used in a Command ('Command Injection') (CVE-2019-5420)

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
Mar 27, 2019
Added
Jan 3, 2020
Modified
Apr 7, 2026

Description

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.

Solution

ruby-on-rails-upgrade-5_2_2_1
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.