{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-5418","published":"2019-03-27T14:29:01.533000Z","last_modified":"2026-06-17T02:37:39.103000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"rails","version_start_including":"3.0.0","version_end_excluding":"4.2.11.1"},{"criteria":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"rails","version_start_including":"5.0.0","version_end_excluding":"5.0.7.2"},{"criteria":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"rails","version_start_including":"5.1.0","version_end_excluding":"5.1.6.2"},{"criteria":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"rails","version_start_including":"5.2.0","version_end_excluding":"5.2.2.1"},{"criteria":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"8.0"},{"criteria":"cpe:2.3:a:redhat:cloudforms:4.7:*:*:*:*:*:*:*","part":"a","vendor":"redhat","product":"cloudforms","version":"4.7"},{"criteria":"cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*","part":"o","vendor":"opensuse","product":"leap","version":"15.0"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"30"},{"criteria":"cpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:*","part":"a","vendor":"redhat","product":"cloudforms","version":"4.6"},{"criteria":"cpe:2.3:a:redhat:software_collections:1.0:*:*:*:*:*:*:*","part":"a","vendor":"redhat","product":"software_collections","version":"1.0"}],"cpes_truncated":false,"vendors":["rubyonrails","debian","redhat","opensuse","fedoraproject"],"products":["rubyonrails/rails","debian/debian_linux","redhat/cloudforms","opensuse/leap","fedoraproject/fedora","redhat/software_collections"],"ssvc":{"exploitation":"active","automatable":"yes","technical_impact":"partial"},"kev":{"date_added":"2025-07-07","due_date":"2025-07-28","ransomware":false,"forensic_triage":false,"cwes":["CWE-22"]},"epss":{"score":0.98507,"percentile":0.99954,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-86g5-2wh3-gc9j","ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","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},{"advisory":"GHSA-86g5-2wh3-gc9j","ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","ranges":[{"introduced":"4.0.0","fixed":"4.2.11.1"}],"versions":["4.1.0","4.1.0.beta1","4.1.0.beta2","4.1.0.rc1","4.1.0.rc2","4.1.1","4.1.10","4.1.10.rc1","4.1.10.rc2","4.1.10.rc3","4.1.10.rc4","4.1.11","4.1.12","4.1.12.rc1","4.1.13","4.1.13.rc1","4.1.14","4.1.14.1","4.1.14.2","4.1.14.rc1","4.1.14.rc2","4.1.15","4.1.15.rc1","4.1.16","4.1.16.rc1","4.1.2","4.1.2.rc1","4.1.2.rc2","4.1.2.rc3","4.1.3","4.1.4","4.1.5","4.1.6","4.1.6.rc1","4.1.6.rc2","4.1.7","4.1.7.1","4.1.8","4.1.9","4.1.9.rc1","4.2.0","4.2.0.beta1","4.2.0.beta2","4.2.0.beta3","4.2.0.beta4","4.2.0.rc1","4.2.0.rc2","4.2.0.rc3","4.2.1","4.2.1.rc1","4.2.1.rc2","4.2.1.rc3","4.2.1.rc4","4.2.10","4.2.10.rc1","4.2.11","4.2.2","4.2.3","4.2.3.rc1","4.2.4","4.2.4.rc1","4.2.5","4.2.5.1","4.2.5.2","4.2.5.rc1","4.2.5.rc2","4.2.6","4.2.6.rc1","4.2.7","4.2.7.1","4.2.7.rc1","4.2.8","4.2.8.rc1","4.2.9","4.2.9.rc1","4.2.9.rc2"],"versions_truncated":false},{"advisory":"GHSA-86g5-2wh3-gc9j","ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","ranges":[{"introduced":"5.1.0","fixed":"5.1.6.2"}],"versions":["5.1.0","5.1.1","5.1.2","5.1.2.rc1","5.1.3","5.1.3.rc1","5.1.3.rc2","5.1.3.rc3","5.1.4","5.1.4.rc1","5.1.5","5.1.5.rc1","5.1.6","5.1.6.1"],"versions_truncated":false},{"advisory":"GHSA-86g5-2wh3-gc9j","ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","ranges":[{"introduced":"5.0.0","fixed":"5.0.7.2"}],"versions":["5.0.0","5.0.0.1","5.0.1","5.0.1.rc1","5.0.1.rc2","5.0.2","5.0.2.rc1","5.0.3","5.0.4","5.0.4.rc1","5.0.5","5.0.5.rc1","5.0.5.rc2","5.0.6","5.0.6.rc1","5.0.7","5.0.7.1"],"versions_truncated":false}],"severity":"high","priority_score":70,"links":{"html_es":"/es/cve/CVE-2019-5418/","html_en":"/en/cve/CVE-2019-5418/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-5418","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-5418"},"untrusted":{"vendor_name":"Rails","product_name":"Ruby on Rails","desc_en":"There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accept headers can cause contents of arbitrary files on the target system's filesystem to be exposed.","affected":[{"untrusted_vendor":"Rails","untrusted_product":"https://github.com/rails/rails"}],"kev":{"vendor":"Rails","product":"Ruby on Rails","name":"Rails Ruby on Rails Path Traversal Vulnerability","desc":"Rails Ruby on Rails contains a path traversal vulnerability in Action View. Specially crafted accept headers in combination with calls to `render file:` can cause arbitrary files on the target server to be rendered, disclosing the file contents.","action":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","notes":"https://web.archive.org/web/20190313201629/https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/ ; https://nvd.nist.gov/vuln/detail/CVE-2019-5418"},"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"a2a4471e712cfdbd6fbe73656db8ffcb","generated":"2026-11-26T23:17:27.464895Z","es":{"untrusted_title":"Divulgación de contenido de archivos en Ruby on Rails Action View","untrusted_summary":"Ruby on Rails Action View versiones 3.0.0 a 5.2.2.0 contienen una vulnerabilidad de divulgación de contenido de archivos. Un atacante sin autenticación puede enviar encabezados Accept especialmente diseñados para exponer el contenido de archivos arbitrarios del sistema de archivos del servidor. CISA ha confirmado que esta vulnerabilidad está siendo explotada activamente."},"en":{"untrusted_title":"File Content Disclosure in Ruby on Rails Action View","untrusted_summary":"Ruby on Rails Action View versions 3.0.0 to 5.2.2.0 contain a file content disclosure vulnerability. An unauthenticated attacker can send specially crafted Accept headers to expose arbitrary file contents from the target server's filesystem. CISA has confirmed this vulnerability is being actively exploited."},"remediation":{"status":"fix","fixed_versions":["4.2.11.1","5.0.7.2","5.1.6.2","5.2.2.1"],"untrusted_action_es":"Actualiza Ruby on Rails a la versión 4.2.11.1, 5.0.7.2, 5.1.6.2 o 5.2.2.1 según tu rama. Valida y sanitiza los encabezados Accept en tu aplicación.","untrusted_action_en":"Update Ruby on Rails to version 4.2.11.1, 5.0.7.2, 5.1.6.2, or 5.2.2.1 depending on your branch. Validate and sanitize Accept headers in your application.","vendor_url":"https://web.archive.org/web/20190313201629/https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/"},"reviewed":false},"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html","tags":["Mailing List","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.openwall.com/lists/oss-security/2019/03/22/1","tags":["Mailing List","Mitigation","Patch","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0796","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1147","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1149","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1289","tags":["Third Party Advisory"]},{"url":"https://groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q","tags":["Permissions Required"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/","tags":["Third Party Advisory"]},{"url":"https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/","tags":["Broken Link","Patch","Vendor Advisory"]},{"url":"https://www.exploit-db.com/exploits/46585/","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://web.archive.org/web/20190313201629/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.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-5418","tags":["US Government Resource"]}]}}