CVE-2019-5420

CRITICALNVD 9.89.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2019-03-13. NVD baseline CVSS 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Weaponized

Also known asEUVD-2019-0385 (ENISA EUVD) · GHSA-m42h-mh85-4qgc (GitHub Security Advisories)Source: ENISA EUVD

9.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • High exploitation likelihood — EPSS 89%
  • Public exploit code is available (Metasploit, Exploit-DB, marked verified by Exploit-DB, other public proof-of-concept code)
CISA-KEV: Not listedEPSS PROB: 89%CVSS: 9.8Exploit: Metasploit · Exploit-DB (verified) · other public PoCExposed services: Not assessed

A fix is available — apply it.

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.

CVSS v3
9.8
EG Score
9.8CRITICALmedium confidence
EG Risk
80
EG Risk 80/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity98% × 45%
Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation89% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's BOD 26-04 default: no one has published Automatable for this CVE, and CISA treats it as “no” for a CVE not in KEV.
SSVC (CISA's decision table, applied by EchelonGraph): Track at low, Track* at medium and Attend at high mission impact.
Exploitation public PoC (exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
89%
EPSS %ILE
99th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.

EG Severity
9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
89% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-23). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track* at medium mission impactTrack at low, Track* at medium and Attend at high mission impact.CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low, Track* at medium and Attend at high mission impact.

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation public PoC (exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). Where an input reads “CISA's BOD 26-04 default”, no one has published it for this CVE, and CISA's implementation guidance says: “If “Automatable” and “Technical Impact” information items about a CVE ID are not available and the CVE ID is not in the KEV Catalog, CISA will treat its values as “no” and “total,” respectively, until CISA or a third party provides metadata about the CVE ID. CISA will always provide the Vulnrichment data for a CVE ID listed in the KEV Catalog.” Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Source timeline

Each source's own date for this CVE, as that source states it, in UTC. For vendor and authority advisories, each publisher's earliest advisory is shown, for at most 12 publishers, and only for publishers whose advisory dates we hold as the publisher's own publication time. The EchelonGraph column shows when our collectors recorded the event, only where that was within 72 hours of the source's date (for a row without one, of the CVE's publication).

SourceEventSource's dateRecorded by EchelonGraphLink
HackerOneMITRE · CVE ProgramMade public, as the CNA states it13 Mar 2019—CVE.org record
GitHub Advisory DatabaseGitHub Advisory Database (CC BY 4.0)LicenceGitHub advisory publishedGHSA-m42h-mh85-4qgc13 Mar 2019, 17:28 UTCrecorded later, in a bulk import or a late collectionGitHub advisory
CVE.orgMITRE · CVE ProgramCVE Record published27 Mar 2019, 13:48 UTCrecorded later, in a bulk import or a late collectionCVE.org record
CVE.orgMITRE · CVE ProgramCVE Record last updated4 Aug 2024, 19:54 UTC—CVE.org record

Advisory Details (4)

Auto-updated Oct 5, 2026
Patch available.
Web page

Ruby On Rails - DoubleTap Development Mode secret_key_base Remote Code Execution (Metasploit) - Linux remote Exploit

https://www.exploit-db.com/exploits/46785/
Web page

[SECURITY] Fedora 30 Update: rubygem-activemodel-5.2.3-2.fc30 - package-announce - Fedora mailing-lists

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/

Vendor Advisories for CVE-2019-5420(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(1)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
rubygemsrailties @ 5.2.2.1 (fixes >= 5.2.0, <= 5.2.2.0)—ghsa

These rows come from GitHub (GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(5 across 5 ecosystems)
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
rails—
  • every version up to 2:5.2.2.1+dfsg-1: fixed in 2:5.2.2.1+dfsg-1
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
rails—
  • every version up to 2:5.2.2.1+dfsg-1: fixed in 2:5.2.2.1+dfsg-1
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
rails—
  • every version up to 2:5.2.2.1+dfsg-1: fixed in 2:5.2.2.1+dfsg-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
rails—
  • every version up to 2:5.2.2.1+dfsg-1: fixed in 2:5.2.2.1+dfsg-1
—
RubyGems(1)
PackageVulnerable rangeFix by version rangeDependents
railties5.2.0 ... 5.2.2.rc1 (6 versions)
  • 5.2.0 up to 5.2.2.1: fixed in 5.2.2.1
—

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 11× in last 7d / 38× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed its CVE.org record (CNA or CISA ADP). An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.

Showing the most recent 100 of 143 rows on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 43 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-24 05:40 UTCEchelonGraph re-scored
  2. 2026-11-24 05:40 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  3. 2026-11-23 05:17 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  4. 2026-11-22 04:52 UTCEchelonGraph re-scored
  5. 2026-11-22 04:52 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  6. 2026-11-21 16:30 UTCEPSS rescoreEPSS 89% · 99th percentile
  7. 2026-11-21 04:26 UTCEchelonGraph re-scored
  8. 2026-11-21 04:26 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  9. 2026-11-20 16:30 UTCEPSS rescoreEPSS 89% · 99th percentile
  10. 2026-11-20 03:57 UTCEchelonGraph re-scored
  11. 2026-11-20 03:57 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  12. 2026-11-19 03:34 UTCEchelonGraph re-scored
  13. 2026-11-19 03:34 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  14. 2026-11-18 16:28 UTCEPSS rescoreEPSS 89% · 99th percentile
  15. 2026-11-18 03:11 UTCEchelonGraph re-scored
  16. 2026-11-18 03:11 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  17. 2026-11-17 16:29 UTCEPSS rescoreEPSS 89% · 99th percentile
  18. 2026-11-17 02:48 UTCEchelonGraph re-scored
  19. 2026-11-17 02:48 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  20. 2026-11-16 02:19 UTCEchelonGraph re-scored
  21. 2026-11-16 02:19 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  22. 2026-11-15 00:26 UTCEchelonGraph re-scored
  23. 2026-11-15 00:26 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  24. 2026-11-14 00:03 UTCEchelonGraph re-scored
  25. 2026-11-14 00:03 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
Show 75 more
  1. 2026-11-13 16:38 UTCEPSS rescoreEPSS 89% · 99th percentile
  2. 2026-11-12 23:40 UTCEchelonGraph re-scored
  3. 2026-11-12 23:40 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  4. 2026-11-11 23:17 UTCEchelonGraph re-scored
  5. 2026-11-11 23:17 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  6. 2026-11-11 16:30 UTCEPSS rescoreEPSS 89% · 99th percentile
  7. 2026-11-10 22:54 UTCEchelonGraph re-scored
  8. 2026-11-10 22:54 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  9. 2026-11-09 22:09 UTCEchelonGraph re-scored
  10. 2026-11-09 22:09 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  11. 2026-11-08 21:42 UTCEchelonGraph re-scored
  12. 2026-11-08 21:42 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  13. 2026-11-08 16:31 UTCEPSS rescoreEPSS 89% · 99th percentile
  14. 2026-11-07 21:19 UTCEchelonGraph re-scored
  15. 2026-11-07 21:19 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  16. 2026-11-07 16:32 UTCEPSS rescoreEPSS 89% · 99th percentile
  17. 2026-11-06 20:57 UTCEchelonGraph re-scored
  18. 2026-11-06 20:57 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  19. 2026-11-06 16:29 UTCEPSS rescoreEPSS 89% · 99th percentile
  20. 2026-11-05 20:34 UTCEchelonGraph re-scored
  21. 2026-11-05 20:34 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  22. 2026-11-04 20:11 UTCEchelonGraph re-scored
  23. 2026-11-04 20:11 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  24. 2026-11-04 16:29 UTCEPSS rescoreEPSS 89% · 99th percentile
  25. 2026-11-03 19:48 UTCEchelonGraph re-scored
  26. 2026-11-03 19:48 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  27. 2026-11-03 05:55 UTCOSV refresh
  28. 2026-11-02 19:26 UTCEchelonGraph re-scored
  29. 2026-11-02 19:26 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  30. 2026-11-01 18:58 UTCEchelonGraph re-scored
  31. 2026-11-01 18:58 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  32. 2026-11-01 08:39 UTCGHSA enrichmentGHSA-m42h-mh85-4qgc · GitHub severity CRITICAL · GitHub CVSS 9.8
  33. 2026-11-01 08:39 UTCEchelonGraph re-scored
  34. 2026-10-31 18:36 UTCEchelonGraph re-scored
  35. 2026-10-31 16:28 UTCEPSS rescoreEPSS 89% · 99th percentile
  36. 2026-10-30 18:09 UTCEchelonGraph re-scored
  37. 2026-10-29 17:47 UTCEchelonGraph re-scored
  38. 2026-10-28 17:24 UTCEchelonGraph re-scored
  39. 2026-10-28 16:27 UTCEPSS rescoreEPSS 89% · 99th percentile
  40. 2026-10-27 16:58 UTCEchelonGraph re-scored
  41. 2026-10-26 16:34 UTCEchelonGraph re-scored
  42. 2026-10-25 16:27 UTCEPSS rescoreEPSS 89% · 99th percentile
  43. 2026-10-25 15:57 UTCEchelonGraph re-scored
  44. 2026-10-24 15:31 UTCEchelonGraph re-scored
  45. 2026-10-23 16:27 UTCEPSS rescoreEPSS 89% · 99th percentile
  46. 2026-10-23 15:05 UTCEchelonGraph re-scored
  47. 2026-10-22 14:38 UTCEchelonGraph re-scored
  48. 2026-10-21 16:27 UTCEPSS rescoreEPSS 89% · 99th percentile
  49. 2026-10-21 14:16 UTCEchelonGraph re-scored
  50. 2026-10-20 13:45 UTCEchelonGraph re-scored
  51. 2026-10-19 12:57 UTCEchelonGraph re-scored
  52. 2026-10-18 09:44 UTCEchelonGraph re-scored
  53. 2026-10-17 10:39 UTCEchelonGraph re-scored
  54. 2026-10-16 10:14 UTCEchelonGraph re-scored
  55. 2026-10-15 09:51 UTCEchelonGraph re-scored
  56. 2026-10-14 16:28 UTCEPSS rescoreEPSS 89% · 99th percentile
  57. 2026-10-14 06:01 UTCEchelonGraph re-scored
  58. 2026-10-12 19:53 UTCEchelonGraph re-scored
  59. 2026-10-12 00:17 UTCEchelonGraph re-scored
  60. 2026-10-07 23:43 UTCEPSS rescoreEPSS 89% · 99th percentile
  61. 2026-10-03 14:22 UTCEPSS rescoreEPSS 89% · 99th percentile
  62. 2026-09-30 10:25 UTCEchelonGraph re-scored
  63. 2026-09-28 13:46 UTCEPSS rescoreEPSS 89% · 99th percentile
  64. 2026-09-28 11:02 UTCOSV refresh
  65. 2026-09-26 15:54 UTCEPSS rescoreEPSS 90% · 99th percentile
  66. 2026-09-24 13:59 UTCEPSS rescoreEPSS 90% · 99th percentile
  67. 2026-09-22 14:43 UTCEPSS rescoreEPSS 92% · 99th percentile
  68. 2026-09-21 20:28 UTCEPSS rescoreEPSS 92% · 99th percentile
  69. 2026-09-18 19:23 UTCEPSS rescoreEPSS 92% · 99th percentile
  70. 2026-09-16 14:04 UTCEPSS rescoreEPSS 92% · 99th percentile
  71. 2026-09-11 14:48 UTCEPSS rescoreEPSS 92% · 99th percentile
  72. 2026-09-08 14:34 UTCOSV refresh
  73. 2026-09-06 13:44 UTCEPSS rescoreEPSS 92% · 99th percentile
  74. 2026-09-05 15:24 UTCEPSS rescoreEPSS 92% · 99th percentile
  75. 2026-08-26 14:42 UTCEPSS rescoreEPSS 92% · 99th percentile

Publicly available exploits

(6 references)

Public exploit code is referenced for this CVE (1 Metasploit module, 1 Exploit-DB entry, 4 GitHub PoCs). Defenders should treat patch urgency accordingly.

  • Exploit-DBEDB-46785✓ verified
    Published May 2, 2019

    Ruby On Rails - DoubleTap Development Mode secret_key_base Remote Code Execution (Metasploit)

    Open source ↗
  • Metasploitexploit/multi/http/rails_double_tap✓ verified
    Published May 1, 2019

    Ruby On Rails DoubleTap Development Mode secret_key_base Vulnerability

    Open source ↗
  • GitHub PoClaffray/ruby-RCE-CVE-2019-5420-
    Published Jul 2, 2022

    Ruby反序列化命令执行漏洞(CVE-2019-5420)-vulfocus通关版

    Open source ↗
  • GitHub PoCj4k0m/CVE-2019-5420
    Published Sep 6, 2021

    A vulnerability can allow an attacker to guess the automatically generated development mode secret token.

    Open source ↗
  • GitHub PoCscumdestroy/CVE-2019-5420.rb
    Published May 11, 2021

    POC Exploit written in Ruby

    Open source ↗
  • GitHub PoCknqyf263/CVE-2019-5420
    Published Mar 21, 2019

    CVE-2019-5420 (Ruby on Rails)

    Open source ↗

Frequently asked(5)

What is CVE-2019-5420?
CVE-2019-5420 is a critical-severity vulnerability; its CVE record was published on March 27, 2019. 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.
When was CVE-2019-5420 made public?
CVE-2019-5420 was made public on March 13, 2019: that is the date its CVE record's CNA, HackerOne, gives for when the vulnerability was made public. The CVE record itself was published on March 27, 2019. CVE.org's record carries a last-updated date of August 4, 2024; it may have been updated since EchelonGraph last read it.
Is CVE-2019-5420 actively exploited?
CVE-2019-5420 is not currently on CISA's Known Exploited Vulnerabilities catalog. EchelonGraph's EG-KEV model places it in Tier 2 (Weaponized), which is not evidence of exploitation: a Metasploit module exists for it, and Exploit-DB marks a public exploit for it as verified. EchelonGraph does not test whether exploit code works. FIRST EPSS estimates a 89% probability of exploitation in the next 30 days (99th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2019-5420?
CVE-2019-5420 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2019-5420?
A fix for CVE-2019-5420 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2019-5420 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2019-5420

Explore →

Is Your Infrastructure Affected by CVE-2019-5420?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.