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.
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.
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.
- Apply the vendor's security update for Ruby on Rails.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was April 15, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | rails | < 3.2.22.1 |
| rubyonrails | rails | ≥ 4.0.0 < 4.1.14.1 |
| rubyonrails | rails | ≥ 4.2.0 < 4.2.5.1 |
| rubyonrails | rails | 5.0.0 |
| opensuse | leap | 42.1 |
| opensuse | opensuse | 13.2 |
| suse | linux_enterprise_module_for_containers | 12 |
| debian | debian_linux | 8.0 |
| redhat | software_collections | 1.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org Permissions Required
- lists.fedoraproject.org Permissions Required
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- rhn.redhat.com Third Party Advisory
- www.debian.org Mailing List Third Party Advisory
- www.openwall.com Exploit Mailing List
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- groups.google.com Broken Link
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.cisa.gov US Government Resource