Live threats

All CVEs / Rails

CVE-2016-0752Rails Ruby on Rails

Directory Traversal Vulnerability in Ruby on Rails

High 7.5 KEV No auth neededHigh EPSS

Priority
70
CVSS 3.1
7.5
EPSS
95.5%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Mar 25, 2022
CISA deadline
Apr 15, 2022
Ransomware use
Unknown
Published
Feb 16, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

Directory traversal vulnerability in Action View of Ruby on Rails allows remote attackers to read arbitrary files without authentication. The flaw occurs when an application unrestricted uses the render method and an attacker provides ".." sequences in pathnames. CISA confirmed this vulnerability is being actively exploited.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

Directory traversal vulnerability in Action View in Ruby on Rails allows remote attackers to read arbitrary files.

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 3.2.22.1, 4.1.14.1, 4.2.5.1

Update Ruby on Rails to version 3.2.22.1, 4.1.14.1, 4.2.5.1 or later. Review that your applications do not use render without restrictions.

Vendor advisory · www.debian.org ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for Ruby on Rails.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was April 15, 2022.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems actionpack ≥ 4.0.0 < 4.1.14.1 4.1.14.1 gem "actionpack", ">= 4.1.14.1"
RubyGems actionpack ≥ 4.2.0 < 4.2.5.1 4.2.5.1 gem "actionpack", ">= 4.2.5.1"
RubyGems actionpack < 3.2.22.1 3.2.22.1 gem "actionpack", ">= 3.2.22.1"
RubyGems actionview ≥ 4.0.0 < 4.1.14.1 4.1.14.1 gem "actionview", ">= 4.1.14.1"
RubyGems actionview ≥ 4.2.0 < 4.2.5.1 4.2.5.1 gem "actionview", ">= 4.2.5.1"

Per OSV / GitHub Advisories (GHSA-xrr4-p6fq-hjg7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails< 3.2.22.1
rubyonrailsrails≥ 4.0.0 < 4.1.14.1
rubyonrailsrails≥ 4.2.0 < 4.2.5.1
rubyonrailsrails5.0.0
opensuseleap42.1
opensuseopensuse13.2
suselinux_enterprise_module_for_containers12
debiandebian_linux8.0
redhatsoftware_collections1.0

Official sources

References

Links published by the sources. Open them with care.