Home / Rubyonrails / Rails / CVE-2016-0752
CVE-2016-0752: is it exploited, and which versions of Rubyonrails Rails are affected and fixed?
CVE-2016-0752 is a path traversal (reading or writing files outside the intended folder) vulnerability in Rubyonrails Rails, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on March 25, 2022, with a federal due date of April 15, 2022. Affected: actionview from 4.0.0 before 4.1.14.1, actionview from 4.2.0 before 4.2.5.1, actionpack from 4.0.0 before 4.1.14.1 and 2 more (GitHub advisory GHSA-xrr4-p6fq-hjg7). Fixed in 4.1.14.1, 4.2.5.1 and 3.2.22.1 (GitHub advisory GHSA-xrr4-p6fq-hjg7). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:46 UTC.
What is CVE-2016-0752?
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.
From the CVE record by redhat, last updated October 21, 2025, 23:55 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | actionview | >= 4.0.0, < 4.1.14.1 | 4.1.14.1 | GHSA-xrr4-p6fq-hjg7 |
| RubyGems | actionview | >= 4.2.0, < 4.2.5.1 | 4.2.5.1 | GHSA-xrr4-p6fq-hjg7 |
| RubyGems | actionpack | >= 4.0.0, < 4.1.14.1 | 4.1.14.1 | GHSA-xrr4-p6fq-hjg7 |
| RubyGems | actionpack | >= 4.2.0, < 4.2.5.1 | 4.2.5.1 | GHSA-xrr4-p6fq-hjg7 |
| RubyGems | actionpack | < 3.2.22.1 | 3.2.22.1 | GHSA-xrr4-p6fq-hjg7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Directory traversal vulnerability in Action View in Ruby on Rails.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rubyonrails | rails | before 3.2.22.1 | application |
| rubyonrails | rails | from 4.0.0 before 4.1.14.1 | application |
| rubyonrails | rails | from 4.2.0 before 4.2.5.1 | application |
| rubyonrails | rails | 5.0.0 | application |
| opensuse | leap | 42.1 | operating system |
| opensuse | opensuse | 13.2 | operating system |
| suse | linux enterprise module for containers | 12 | operating system |
| debian | debian linux | 8.0 | operating system |
| redhat | software collections | 1.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 00:38 UTC.
How severe is CVE-2016-0752?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-0752 exploited in the wild?
- CISA KEV
- Listed as Ruby on Rails Directory Traversal Vulnerability, added March 25, 2022; federal agencies must act by April 15, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- Directory traversal vulnerability in Action View in Ruby on Rails allows remote attackers to read arbitrary files.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: partial (CISA ADP, February 7, 2025)
- EPSS
- 95.5% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- 40561 exploit, x_refsource_EXPLOIT-DB
- openSUSE-SU-2016:0372 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2016:0363 vendor-advisory, x_refsource_SUSE
- [oss-security] 20160125 [CVE-2016-0752] Possible Information Leak Vulnerability in Action View mailing-list, x_refsource_MLIST
- FEDORA-2016-97002ad37b vendor-advisory, x_refsource_FEDORA
- SUSE-SU-2016:1146 vendor-advisory, x_refsource_SUSE
- 81801 vdb-entry, x_refsource_BID
- 1034816 vdb-entry, x_refsource_SECTRACK
- FEDORA-2016-fa0dec2360 vendor-advisory, x_refsource_FEDORA
- [ruby-security-ann] 20160125 [CVE-2016-0752] Possible Information Leak Vulnerability in Action View mailing-list, x_refsource_MLIST
- DSA-3464 vendor-advisory, x_refsource_DEBIAN
- RHSA-2016:0296 vendor-advisory, x_refsource_REDHAT
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-0752 government-resource
When was it published, and where is the official record?
- Reserved
- December 16, 2015
- Published
- February 16, 2016, 02:00 UTC
- CVE record updated
- October 21, 2025, 23:55 UTC by redhat
- NVD
- Analyzed, last modified June 17, 2026, 00:38 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:46 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Rails?
- May 7, 2014CVE-2014-0130 Redhat Subscription Asset Manager: path traversal (reading or writing files outside the intended folder) exploited
- Dec 29, 2017CVE-2017-17917 Rubyonrails Rails: SQL injection disputed
- Dec 29, 2017CVE-2017-17916 Rubyonrails Rails: SQL injection disputed
- Sep 7, 2016CVE-2016-6317 Rubyonrails Rails: improper access control
- Sep 7, 2016CVE-2016-6316 Rubyonrails Rails: cross-site scripting (XSS)
- Apr 7, 2016CVE-2016-2098 Debian Linux: improper input validation
- Apr 7, 2016CVE-2016-2097 Rubyonrails Rails: path traversal (reading or writing files outside the intended folder)
- Feb 16, 2016CVE-2016-0753 Rubyonrails Rails: improper input validation
Questions about CVE-2016-0752
Is CVE-2016-0752 exploited in the wild?
Yes. CISA added CVE-2016-0752 to its Known Exploited Vulnerabilities catalog on March 25, 2022 and set federal agencies a due date of April 15, 2022. FIRST's EPSS gives it a 95.5% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rubyonrails Rails are affected by CVE-2016-0752?
actionview from 4.0.0 before 4.1.14.1, actionview from 4.2.0 before 4.2.5.1, actionpack from 4.0.0 before 4.1.14.1, actionpack from 4.2.0 before 4.2.5.1 and actionpack before 3.2.22.1, per the GitHub advisory GHSA-xrr4-p6fq-hjg7. The tables above give every range the sources list.
Which version fixes CVE-2016-0752?
4.1.14.1, 4.2.5.1 and 3.2.22.1, per the GitHub advisory GHSA-xrr4-p6fq-hjg7. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-0752?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2016-0752?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.