CVE-2016-0752 Details
Description
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.
A directory traversal vulnerability has been identified in the Action View component of Ruby on Rails. This issue is present in versions prior to 3.2.22.1, 4.0.x, 4.1.x prior to 4.1.14.1, 4.2.x prior to 4.2.5.1, and 5.x prior to 5.0.0.beta1.1. The vulnerability allows remote attackers to read arbitrary files by exploiting an application's unrestricted use of the render method, and by providing a .. (dot dot) in the pathname. The flaw arises from the Action View component's handling of template rendering, where untrusted input can be used to access files outside the application's view directory, potentially leading to remote code execution.
Users are advised to upgrade to Ruby on Rails versions 5.0.0.beta1.1, 4.2.5.1, 4.1.14.1, or 3.2.22.1. For those unable to upgrade immediately, a patch is available for the 4.1 and 4.2 series. Instructions for applying the patch can be found in the Ruby on Rails security update announcement.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.
| Vulnerability Name | Date Added | Due Date | Required Action |
|---|---|---|---|
| Ruby on Rails Directory Traversal Vulnerability | Mar 25, 2022 | Apr 15, 2022 | Apply updates per vendor instructions. |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| rubyonrails rails | < 3.2.22.1 >= 4.0.0, < 4.1.14.1 >= 4.2.0, < 4.2.5.1 5.0.0 beta1 |
CPE
Remediation
| |
| opensuse leap | 42.1 |
CPE
Remediation
| |
| opensuse opensuse | 13.2 |
CPE
Remediation
| |
| suse linux enterprise module for containers | 12 |
CPE
Remediation
| |
| debian debian linux | 8.0 |
CPE
Remediation
| |
| redhat software collections | 1.0 |
CPE
Remediation
| |
Change History
69 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Apr 22, 2026 | Modified Analysis | [email protected] |
| Oct 22, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Apr 2, 2025 | Modified Analysis | [email protected] |
| Feb 7, 2025 | CVE Modified | CISA-ADP |
| Jan 28, 2025 | Modified Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Jul 16, 2024 | Modified Analysis | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Aug 8, 2019 | CPE Deprecation Remap | [email protected] |
| Sep 10, 2017 | CVE Modified | [email protected] |
| Sep 3, 2017 | CVE Modified | [email protected] |
| Dec 6, 2016 | CVE Modified | [email protected] |
| Dec 3, 2016 | CVE Modified | [email protected] |
| Nov 28, 2016 | CVE Modified | [email protected] |
| Mar 3, 2016 | Modified Analysis | [email protected] |
| Mar 3, 2016 | Initial Analysis | [email protected] |