{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-5420","published":"2019-03-27T14:29:01.720000Z","last_modified":"2026-06-17T02:37:39.493000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-77","CWE-330"],"cpes":[{"criteria":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"rails","version_end_excluding":"5.2.2.1"},{"criteria":"cpe:2.3:a:rubyonrails:rails:6.0.0:beta1:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"rails","version":"6.0.0"},{"criteria":"cpe:2.3:a:rubyonrails:rails:6.0.0:beta2:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"rails","version":"6.0.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"8.0"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"30"}],"cpes_truncated":false,"vendors":["rubyonrails","debian","fedoraproject"],"products":["rubyonrails/rails","debian/debian_linux","fedoraproject/fedora"],"epss":{"score":0.8933,"percentile":0.99858,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-m42h-mh85-4qgc","ecosystem":"RubyGems","name":"railties","purl":"pkg:gem/railties","ranges":[{"introduced":"5.2.0","fixed":"5.2.2.1"}],"versions":["5.2.0","5.2.1","5.2.1.1","5.2.1.rc1","5.2.2","5.2.2.rc1"],"versions_truncated":false}],"severity":"critical","priority_score":83,"links":{"html_es":"/es/cve/CVE-2019-5420/","html_en":"/en/cve/CVE-2019-5420/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-5420","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-5420"},"untrusted":{"vendor_name":"Rubyonrails","product_name":"Rails","desc_en":"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.","affected":[{"untrusted_vendor":"Rails","untrusted_product":"https://github.com/rails/rails","versions":[]}],"references":[{"url":"http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://groups.google.com/forum/#%21topic/rubyonrails-security/IsQKvDqZdKw","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/","tags":[]},{"url":"https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/","tags":["Patch","Vendor Advisory"]},{"url":"https://www.exploit-db.com/exploits/46785/","tags":["Exploit","Third Party Advisory","VDB Entry"]}]}}