{"id":"CVE-2019-5418","kind":"vulnerability","aliases":["CVE-2019-5418"],"related":[],"title":"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…","description":"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.\n\nCISA required 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.","summary":"Ruby on Rails' Action View has a path traversal flaw: a crafted Accept header combined with a call to `render file:` lets an attacker render arbitrary files on the server. The attacker reads the contents of those files, such as config or secrets.","severity":"high","cvss":7.5,"epss":null,"exploited":true,"exploited_at":"2025-07-07T00:00:00+00:00","products":[{"name":"Rails Ruby on Rails","fixed":[],"affected":"","ecosystem":"vendor"},{"name":"rubyonrails rails","fixed":["4.2.11.1"],"affected":">= 3.0.0, < 4.2.11.1","ecosystem":"vendor"},{"name":"rubyonrails rails","fixed":["5.0.7.2"],"affected":">= 5.0.0, < 5.0.7.2","ecosystem":"vendor"},{"name":"rubyonrails rails","fixed":["5.1.6.2"],"affected":">= 5.1.0, < 5.1.6.2","ecosystem":"vendor"},{"name":"rubyonrails rails","fixed":["5.2.2.1"],"affected":">= 5.2.0, < 5.2.2.1","ecosystem":"vendor"},{"name":"debian linux","fixed":[],"affected":"= 8.0","ecosystem":"vendor"},{"name":"redhat cloudforms","fixed":[],"affected":"= 4.7","ecosystem":"vendor"},{"name":"opensuse leap","fixed":[],"affected":"= 15.0","ecosystem":"vendor"},{"name":"fedoraproject fedora","fixed":[],"affected":"= 30","ecosystem":"vendor"},{"name":"redhat cloudforms","fixed":[],"affected":"= 4.6","ecosystem":"vendor"},{"name":"redhat software collections","fixed":[],"affected":"= 1.0","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["exploited","rails","ruby","runtime","self-hosted"],"not_affected_if":["no-render-file-calls","static-export"],"how_to_check":null,"fix":null,"status":"open","published_at":"2019-03-27T14:29:01+00:00","first_seen_at":"2026-10-23T19:11:51+00:00","triaged_at":"2026-10-23T20:46:47+00:00","updated_at":"2026-10-23T22:29:05+00:00","category":"runtime","confidence":0.6,"triage":{"at":"2026-10-23T20:46:47Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","summary":"Ruby on Rails' Action View has a path traversal flaw: a crafted Accept header combined with a call to `render file:` lets an attacker render arbitrary files on the server. The attacker reads the contents of those files, such as config or secrets.","category":"runtime","who_cares":["rails","ruby","self-hosted"],"confidence":0.6,"needs_auth":"no","worst_case":"Attacker reads arbitrary server files, including secrets and credentials.","analyst_note":"Sources give no affected or fixed versions and no mitigation steps; check the Rails security advisory for CVE-2019-5418 for the patched versions and the render file mitigation.","how_to_check":"unknown","needs_analyst":true,"not_affected_if":["static-export","no-render-file-calls"],"user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000417,"input_tokens":2562,"output_tokens":321,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-01':148C '-2019':18A,21A '-5418':19A,22A '22':147C '4.2.11.1':14A '5.0.7.2':13A '5.1.6.2':12A '5.2.2.1':11A 'accept':67B,112C 'action':9A,58B,108C,138C 'appli':139C 'applic':145C 'arbitrari':80B,123C 'attack':78B,86B 'bod':146C 'call':72B,117C 'caus':122C 'cisa':136C 'cloud':151C 'cloudforms':38A,44A 'collections':47A 'combin':69B,115C 'config':95B 'contain':102C 'content':5A,89B,135C 'craft':66B,111C 'cve':17A,20A 'debian':35A 'disclos':132C 'disclosur':6A 'discontinu':154C 'exploit':48B 'fedora':42A 'fedoraproject':41A 'file':4A,75B,81B,92B,120C,124C,134C 'flaw':64B 'follow':144C 'guidanc':149C 'header':68B,113C 'host':54B 'instruct':143C 'leap':40A 'let':76B 'linux':36A 'mitig':140C,160C 'on':25A 'opensuse':39A 'path':62B,104C 'per':141C 'product':158C 'rail':49B,57B,98C,101C 'rails':23A,26A,28A,30A,32A,34A 'read':87B 'redhat':37A,43A,45A 'render':74B,79B,119C,131C 'requir':137C 'rubi':50B,55B,99C 'ruby':24A 'rubyonrails':27A,29A,31A,33A 'runtim':51B 'secret':97B 'self':53B 'self-host':52B 'server':84B,128C 'servic':152C 'software':46A 'special':110C 'target':127C 'travers':63B,105C 'unavail':162C 'use':155C 'v3':16A 'vendor':142C 'view':10A,59B,109C 'vulner':7A,106C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2019-03-27T14:29:01+00:00","kev":{"dateAdded":"2025-07-07","dueDate":"2025-07-28","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cvss_by":"nvd@nist.gov","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2019-5418","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2019-5418","severity":null,"published_at":"2025-07-07T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:51+00:00","fetched_at":"2026-10-25T20:35:32+00:00","note":null},{"source":"nvd","external_id":"CVE-2019-5418","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5418","severity":null,"published_at":"2019-03-27T14:29:01+00:00","modified_at":"2026-06-17T02:37:39+00:00","first_seen_at":"2026-10-23T22:29:05+00:00","fetched_at":"2026-10-23T22:29:05+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}