Skip to content
Noroxi
CVE-2016-0752· NVD / CVE Program· CNA redhat

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, an

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.

HighCVSS 7.5 · v3.1KEVWeaponized Fix available
Published
Feb 15, 2016
Updated
Jun 16, 2026
EPSS
95.5% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

89

Now

Patch today or shut off access.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
30 / 30 · Listed
EPSS
29 / 30 · 95.5%

CISA SSVC decision

Exploitation
active
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Actively exploited in the wild

CISA added this to its Known Exploited Vulnerabilities catalog on Mar 25, 2022. That signals real attacks, not theory.

Remediation deadline for government agencies: Apr 15, 2022.

Affected systems

VendorProduct
rubyonrailsrails
opensuseleap
opensuseopensuse
suselinux enterprise module for containers
debiandebian linux
redhatsoftware collections

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux8.0
  • opensuse leap42.1
  • opensuse opensuse13.2
  • redhat software collections1.0
  • rubyonrails rails4.2.0 and later · before 4.2.5.1
  • rubyonrails rails4.0.0 and later · before 4.1.14.1
  • rubyonrails railsbefore 3.2.22.1
  • rubyonrails rails5.0.0
  • suse linux enterprise module for containers12

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12railsbefore 2:4.2.5.1-12:4.2.5.1-1
Debian:7ruby-actionpack-3.2before 3.2.6-6+deb7u33.2.6-6+deb7u3
Debian:8railsbefore 2:4.1.8-1+deb8u12:4.1.8-1+deb8u1
Red Hat:rhel_software_collections:2::el6rh-ror41-rubygem-actionpackbefore 1:4.1.5-3.el61:4.1.5-3.el6
Red Hat:rhel_software_collections:2::el6rh-ror41-rubygem-actionpack-docbefore 1:4.1.5-3.el61:4.1.5-3.el6
Red Hat:rhel_software_collections:2::el6rh-ror41-rubygem-actionviewbefore 0:4.1.5-4.el60:4.1.5-4.el6
Red Hat:rhel_software_collections:2::el6rh-ror41-rubygem-actionview-docbefore 0:4.1.5-4.el60:4.1.5-4.el6
Red Hat:rhel_software_collections:2::el6rh-ror41-rubygem-activemodelbefore 0:4.1.5-2.el60:4.1.5-2.el6
Red Hat:rhel_software_collections:2::el6rh-ror41-rubygem-activemodel-docbefore 0:4.1.5-2.el60:4.1.5-2.el6
Red Hat:rhel_software_collections:2::el6rh-ror41-rubygem-activerecordbefore 1:4.1.5-2.el61:4.1.5-2.el6
Red Hat:rhel_software_collections:2::el6rh-ror41-rubygem-activerecord-docbefore 1:4.1.5-2.el61:4.1.5-2.el6
Red Hat:rhel_software_collections:2::el6rh-ror41-rubygem-activesupportbefore 1:4.1.5-3.el61:4.1.5-3.el6
Red Hat:rhel_software_collections:2::el6ror40-rubygem-actionpackbefore 1:4.0.2-7.el61:4.0.2-7.el6
Red Hat:rhel_software_collections:2::el6ror40-rubygem-actionpack-docbefore 1:4.0.2-7.el61:4.0.2-7.el6
Red Hat:rhel_software_collections:2::el6ror40-rubygem-activerecordbefore 1:4.0.2-6.el61:4.0.2-6.el6
Red Hat:rhel_software_collections:2::el6ror40-rubygem-activerecord-docbefore 1:4.0.2-6.el61:4.0.2-6.el6
Red Hat:rhel_software_collections:2::el6ror40-rubygem-activesupportbefore 1:4.0.2-4.el61:4.0.2-4.el6
Red Hat:rhel_software_collections:2::el6ruby193-rubygem-actionpackbefore 1:3.2.8-16.el61:3.2.8-16.el6
Red Hat:rhel_software_collections:2::el6ruby193-rubygem-actionpack-docbefore 1:3.2.8-16.el61:3.2.8-16.el6
Red Hat:rhel_software_collections:2::el6ruby193-rubygem-activerecordbefore 1:3.2.8-11.el61:3.2.8-11.el6
Red Hat:rhel_software_collections:2::el6ruby193-rubygem-activerecord-docbefore 1:3.2.8-11.el61:3.2.8-11.el6
Red Hat:rhel_software_collections:2::el6ruby193-rubygem-activesupportbefore 1:3.2.8-6.el61:3.2.8-6.el6
Red Hat:rhel_software_collections:2::el7rh-ror41-rubygem-actionpackbefore 1:4.1.5-3.el71:4.1.5-3.el7
Red Hat:rhel_software_collections:2::el7rh-ror41-rubygem-actionpack-docbefore 1:4.1.5-3.el71:4.1.5-3.el7

+33

Other highest-scoring records for the same primary product.

  • CVE-2019-5418There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accepKEV
    90Now
  • CVE-2019-5420A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically gene
    66This week
  • CVE-2020-8163The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument o
    60This week
  • CVE-2013-0156active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.1
    60This week
  • CVE-2013-0333lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to
    59Plan
  • CVE-2020-8165A deserialization of untrusted data vulnernerability exists in rails < 5.2.4.3, rails < 6.0.3.1 that can allow an attacker to unmarshal user
    53Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:rails2:4.2.5.1-1 · Debian:12Package registry (OSV)
debian:ruby-actionpack-3.23.2.6-6+deb7u3 · Debian:7Package registry (OSV)
red hat:rh-ror41-rubygem-actionpack1:4.1.5-3.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-ror41-rubygem-actionpack-doc1:4.1.5-3.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-ror41-rubygem-actionview0:4.1.5-4.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-ror41-rubygem-actionview-doc0:4.1.5-4.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-ror41-rubygem-activemodel0:4.1.5-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-ror41-rubygem-activemodel-doc0:4.1.5-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-ror41-rubygem-activerecord1:4.1.5-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-ror41-rubygem-activerecord-doc1:4.1.5-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-ror41-rubygem-activesupport1:4.1.5-3.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:ror40-rubygem-actionpack1:4.0.2-7.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:ror40-rubygem-actionpack-doc1:4.0.2-7.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:ror40-rubygem-activerecord1:4.0.2-6.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
RubyGems:actionpack3.2.22.1Package registry (OSV)
RubyGems:actionpack4.1.14.1Package registry (OSV)
RubyGems:actionpack4.2.5.1Package registry (OSV)
RubyGems:actionview4.1.14.1Package registry (OSV)
RubyGems:actionview4.2.5.1Package registry (OSV)
suse:libjansson2.2.1-0.9.11.6 · SUSE:Studio Onsite 1.3Package registry (OSV)
suse:portus2.0.3-2.4 · SUSE:Linux Enterprise Module for Containers 12Package registry (OSV)
suse:qemu-ext20.1.1-0.9.4.19 · SUSE:Studio Onsite 1.3Package registry (OSV)
suse:rubygem-actionpack-3_23.2.12-0.23.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:rubygem-actionpack-4_14.1.9-9.1 · SUSE:OpenStack Cloud 5Package registry (OSV)
suse:rubygem-actionpack-4_24.2.2-6.1 · SUSE:Enterprise Storage 2.1Package registry (OSV)
suse:rubygem-actionview-4_14.1.9-9.1 · SUSE:OpenStack Cloud 5Package registry (OSV)
suse:rubygem-actionview-4_24.2.2-5.1 · SUSE:Enterprise Storage 2.1Package registry (OSV)
suse:rubygem-bundler191.7.0-0.13.10 · SUSE:Studio Onsite 1.3Package registry (OSV)
suse:studio-help1.3.20-0.6.9 · SUSE:Studio Onsite 1.3Package registry (OSV)
suse:susestudio1.3.14-52.1 · SUSE:Studio Onsite 1.3Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×1
  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entryremote2016-10-17
Metasploit moduleexploit/multi/http/rails_dynamic_render_code_execRuby on Rails Dynamic Render File Upload Remote Code Executionexploit2016-10-16
Proof-of-concept repository on GitHubstars:102016-01-26
Proof-of-concept repository on GitHubstars:02016-03-18

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-21 d
  2. Published
  3. Metasploit+243 d
  4. CISA KEV+2229 d
  5. TodaySep 30, 2026+3879 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

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

nvd-primary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records