CVE-2016-0752
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.
Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · source nvd
Exploit chance (EPSS)
95.537%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-03-25
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Ruby on Rails Directory Traversal Vulnerability |
|---|---|
| Vendor / product | Rails / Ruby on Rails |
| Date added | 2022-03-25 |
| Federal remediation due date | 2022-04-15 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2025-02-07 |
Timeline
- 2016-02-16Published by the CNA02:00 UTC
- 2016-10-17First Exploit-DB entry (EDB-ID 40561)244 days after publication
- 2017-10-24GitHub advisory published (GHSA-xrr4-p6fq-hjg7)616 days after publication
- 2022-03-25Added to the CISA KEV catalog2229 days after publication
- 2025-02-07CISA SSVC decision recorded3279 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 40561 | remote | multiple | 2016-10-17 | yes |
GitHub advisory GHSA-xrr4-p6fq-hjg7, affected packages:
| Ecosystem | Package | Vulnerable range | Patched |
|---|---|---|---|
| RubyGems | actionpack | < 3.2.22.1 | 3.2.22.1 |
| RubyGems | actionpack | >= 4.0.0, < 4.1.14.1 | 4.1.14.1 |
| RubyGems | actionpack | >= 4.2.0, < 4.2.5.1 | 4.2.5.1 |
| RubyGems | actionview | >= 4.0.0, < 4.1.14.1 | 4.1.14.1 |
| RubyGems | actionview | >= 4.2.0, < 4.2.5.1 | 4.2.5.1 |
Affected products
| Vendor | Product |
|---|---|
| debian | debian_linux |
| opensuse | leap |
| opensuse | opensuse |
| redhat | software_collections |
| rubyonrails | rails |
| suse | linux_enterprise_module_for_containers |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178044.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178069.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.html
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html
- http://rhn.redhat.com/errata/RHSA-2016-0296.html
- http://www.debian.org/security/2016/dsa-3464
- http://www.openwall.com/lists/oss-security/2016/01/25/13
- https://www.exploit-db.com/exploits/40561/
- http://www.securityfocus.com/bid/81801
- http://www.securitytracker.com/id/1034816
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-0752
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2016-0752'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2016-0752'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2016-0752'curl 'https://api.contrastcyber.com/cve_products/CVE-2016-0752'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2016-0752'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).