Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2019-5420

90
FAUCET Score

CVE-2019-5420 is a critical remote code execution vulnerability affecting Ruby on Rails versions prior to 5.2.2.1 and 6.0.0.beta3 when running in development mode. An attacker can guess the automatically generated secret token, which, when combined with other Rails internals, leads to full remote code execution. This vulnerability carries a CVSS score of 9.8 (Critical) due to its network-based attack vector, low attack complexity, and complete compromise of confidentiality, integrity, and availability. While not listed in CISA's KEV catalog, exploit code is publicly available via a Metasploit module, though there is no evidence of active exploitation or significant community discussion.

Impacted Technologies

VendorProductVersion(s)CPE
< 5.2.2.1CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
6.0.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:6.0.0:beta1:*:*:*:*:*:*
6.0.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:6.0.0:beta2:*:*:*:*:*:*
8.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
30CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
92.14%
Probability of exploitation in next 30 days
EPSS Percentile
99.8%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
Metasploit: Ruby On Rails DoubleTap Development Mode secret_key_base Vulnerability · Mar 13, 2019
ExploitDB: EDB-46785 · May 2, 2019
This CVE's current EPSS score of 0.9214 is in the 99th percentile among its peer group of 36,833 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (1)

rubygemspatch availablevia ghsa
Product: railtiesFixed in: 5.2.2.1

Vendor Advisories (2)

rubygemsGHSA-m42h-mh85-4qgccritical

Use of Insufficiently Random Values in Railties Allows Remote Code Execution

Mar 13, 2019
redhatCVE-2019-5420Moderate

rubygem-rails: Weak secret token leading to possible code execution

Mar 13, 2019

References

packetstormsecurity.com / files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html
ExploitThird Party AdvisoryVDB Entry
groups.google.com / forum
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA
weblog.rubyonrails.org / 2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released
PatchVendor Advisory
exploit-db.com / exploits/46785
ExploitThird Party AdvisoryVDB Entry