Skip to main content

CVE-2016-0752 — Directory traversal vulnerability in actionview

HIGH
Actively Exploited

Directory traversal vulnerability in Action View in Ruby on Rails

Published October 24, 2017Updated October 22, 2025Source: OSV

What Should I Do?

Patch Immediately

This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.

Does your project use an affected actionview version?

Paste your Gemfile.lock to check it for CVE-2016-0752 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Gemfile.lock

Summary

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.

Advisory Timeline

  • First published October 24, 2017 (3320 days ago).
  • Last revised October 22, 2025 — 2920 days after initial publication.
  • Added to CISA's Known Exploited Vulnerabilities catalog 1612 days after publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update actionview to 4.1.14.1 or later
gem install actionview -v 4.1.14.1
Bundler
Update actionpack to 4.2.5.1 or later
gem install actionpack -v 4.2.5.1
Bundler
Update actionpack to 4.1.14.1 or later
gem install actionpack -v 4.1.14.1
Bundler
Update actionpack to 3.2.22.1 or later
gem install actionpack -v 3.2.22.1
Bundler
Update actionview to 4.2.5.1 or later
gem install actionview -v 4.2.5.1

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: RubyGems (2).

PackageFixed In
actionview RubyGems · Affected: 4.1.0, 4.1.0.beta1, 4.1.0.beta2, 4.1.0.rc1 (+30 more)4.1.14.1
actionpack RubyGems · Affected: 4.2.0, 4.2.1, 4.2.1.rc1, 4.2.1.rc2 (+10 more)4.2.5.1
actionpack RubyGems · Affected: 4.0.0, 4.0.1, 4.0.1.rc1, 4.0.1.rc2 (+56 more)4.1.14.1
actionpack RubyGems · Affected: 0.9.0, 0.9.5, 1.0.0, 1.0.1 (+172 more)3.2.22.1
actionview RubyGems · Affected: 4.2.0, 4.2.1, 4.2.1.rc1, 4.2.1.rc2 (+10 more)4.2.5.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

References

Frequently Asked Questions

What is CVE-2016-0752?
Directory traversal vulnerability in Action View in Ruby on Rails. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2016-0752?
CVE-2016-0752 affects actionview and actionpack. It has a 95.5% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-0752 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
95.54%
EPSS percentile: 99.9

This places it in the top 5% of EPSS-scored vulnerabilities — 99.9% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Known Exploited Vulnerability

This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Added to KEV catalog: March 25, 2022

Remediation deadline: April 15, 2022

Also Known As

GHSA-xrr4-p6fq-hjg7

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock