← Vulnerability feed

Vulnerability record · CVE-2016-0752 · published 16 February 2016

CVE-2016-0752: Ruby on Rails Action View render method directory traversal

Rubyonrails · Rails

Action View in Ruby on Rails fails to properly sanitize pathnames passed to the render method, allowing directory traversal via '..' sequences. An application that passes user-controlled input to render without restriction can be tricked into reading arbitrary files from the server filesystem. This exposes configuration files, credentials, and source code to unauthenticated remote attackers.

7.5 CVSS 3.1 High CISA KEV since 25 Mar 2022 EPSS 96% · top 0.1% CWE-22 · Path traversal
7.5CVSS 3.1 base score, v2 5.0
96%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
6Affected product versions listed by NVD
25References, 4 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityThe vulnerability is in CISA KEV with a very high EPSS score, has public exploits, and allows unauthenticated arbitrary file read.

What it is

Action View in Ruby on Rails fails to properly sanitize pathnames passed to the render method, allowing directory traversal via '..' sequences. An application that passes user-controlled input to render without restriction can be tricked into reading arbitrary files from the server filesystem. This exposes configuration files, credentials, and source code to unauthenticated remote attackers.

Impact

An attacker can read arbitrary files on the server, including secrets, database credentials, and application source code. This can lead to further compromise of the application and its data.

Attack surface

Reachable over the network via HTTP requests to an application that uses the render method with user-supplied path input. No authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).

Exploitation

CVE-2016-0752 is listed in CISA KEV (added 2022-03-25) and has an EPSS probability of 0.95537 (99.867th percentile), indicating active exploitation. Public exploit code is referenced in Exploit-DB and Openwall.

What to do

  • Apply the vendor patches: upgrade Rails to 3.2.22.1, 4.1.14.1, 4.2.5.1, or 5.0.0.beta1.1 or later.
  • Update distribution packages (Debian, Red Hat, openSUSE/SUSE) per their security advisories.
  • Audit application code for render calls that accept user-controlled pathnames and restrict them to a safe allowlist.
  • Validate and sanitize all file path input, rejecting '..' sequences and absolute paths.
  • Run the application with least privilege to limit the impact of arbitrary file reads.

Detection

  • Monitor HTTP requests for path traversal patterns such as '../' or encoded variants in parameters that feed render calls.
  • Review web server and application logs for unusual file access attempts or errors indicating traversal.
  • Use file integrity monitoring to detect unexpected reads of sensitive files like /etc/passwd or configuration files.
  • Deploy WAF rules to block directory traversal attempts targeting Rails applications.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2016-0752 to the Known Exploited Vulnerabilities catalog on 25 March 2022 as "Ruby on Rails Directory Traversal Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 15 April 2022.

Affected products

6 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178044.html Permissions Required
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178069.html Permissions Required
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html Mailing ListThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0296.html Third Party Advisory
http://www.debian.org/security/2016/dsa-3464 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/01/25/13 ExploitMailing List
http://www.securityfocus.com/bid/81801 Broken LinkThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1034816 Broken LinkThird Party AdvisoryVDB Entry
https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ Broken Link
https://www.exploit-db.com/exploits/40561/ ExploitThird Party AdvisoryVDB Entry
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178044.html Permissions Required
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178069.html Permissions Required
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html Mailing ListThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0296.html Third Party Advisory
http://www.debian.org/security/2016/dsa-3464 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/01/25/13 ExploitMailing List
http://www.securityfocus.com/bid/81801 Broken LinkThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1034816 Broken LinkThird Party AdvisoryVDB Entry
https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ Broken Link
https://www.exploit-db.com/exploits/40561/ ExploitThird Party AdvisoryVDB Entry
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-0752 US Government Resource

Track CVE-2016-0752 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2016-0752), CISA KEV, FIRST EPSS (scores of 2026-09-25). This page is refreshed as NVD updates the record.