{
    "id": "CVE-2019-5420",
    "published": "2019-03-27 14:29:01",
    "last_modified": "2026-06-17 02:37:39",
    "cvss_score": "9.8",
    "cvss_severity": "CRITICAL",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "cwe": "CWE-77",
    "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.",
    "epss_score": "0.89687",
    "epss_percentile": "0.99786",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:24:01",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "debian",
            "product": "debian_linux"
        },
        {
            "vendor": "fedoraproject",
            "product": "fedora"
        },
        {
            "vendor": "rubyonrails",
            "product": "rails"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "46785",
            "title": "Ruby On Rails - DoubleTap Development Mode secret_key_base Remote Code Execution (Metasploit)",
            "date": "2019-05-02",
            "url": "https://www.exploit-db.com/exploits/46785"
        }
    ],
    "refs_list": [
        "http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html",
        "https://groups.google.com/forum/#%21topic/rubyonrails-security/IsQKvDqZdKw",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/",
        "https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/",
        "https://www.exploit-db.com/exploits/46785/",
        "http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html",
        "https://groups.google.com/forum/#%21topic/rubyonrails-security/IsQKvDqZdKw",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/",
        "https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/",
        "https://www.exploit-db.com/exploits/46785/"
    ]
}