CVE-2016-2097: Rubyonrails Rails

Medium severity, CVSS 5.3. EPSS: 4.4% probability of exploitation activity in the next 30 days.

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1.14.2 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 3.2.22.2", "before 4.1.14.2"; check the vendor's advisory for the release that fixes it.

Affected products

  • Rubyonrails Rails: version 4.0.0 only; version 4.0.1 only; version 4.0.2 only; version 4.0.3 only; version 4.0.4 only; version 4.0.5 only; …
  • Rubyonrails Ruby On Rails: up to and including 3.2.22.1; version 4.1.14.1 only

Affected packages

Published 2016-04-07. Last modified 2026-06-17.