Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
💎
💎 RubyGems
CISA KEV · ACTIVELY EXPLOITED
HIGH severity

CVE-2016-0752 — actionview

HIGH

CVE-2016-0752 is a high-severity (CVSS 7.5) Path Traversal vulnerability in actionview. It is in CISA's Known Exploited Vulnerabilities catalog (added 2022-03-25) — treat it as actively exploited and patch now. A fix is available for actionview — see the affected versions and patch details below.

Directory traversal vulnerability in Action View in Ruby on Rails

Also known asGHSA-xrr4-p6fq-hjg7
Published
Updated
Affected
5 pkgs
Patched
5 / 5
Exploits
7 known
Exploitation data as of Oct 21, 2026 · OSV.dev, NVD, CISA KEV, FIRST.org (EPSS)

Exploitation Status

Actively exploited in the wild

  • Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2022-03-25. Federal agencies were required to remediate by 2022-04-15.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.

Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2016-0752.

EPSS Exploitation Probability

via FIRST.org ↗
95.5%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
89.0%91.7%94.4%97.0%91.1%95.5%Apr 26Jul 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2016-0752 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).

Where this sits among everything scored

Of 394,803 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

5 pkgs affected
💎actionview💎actionview💎actionpack💎actionpack💎actionpack

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

5 total 5 fixed
EcosystemPackageVulnerable rangeFix
💎RubyGemsactionview≥ 4.0.0&&< 4.1.14.14.1.14.1bundle update actionview --conservative
💎RubyGemsactionview≥ 4.2.0&&< 4.2.5.14.2.5.1bundle update actionview --conservative
💎RubyGemsactionpack≥ 4.0.0&&< 4.1.14.14.1.14.1bundle update actionpack --conservative
💎RubyGemsactionpack≥ 4.2.0&&< 4.2.5.14.2.5.1bundle update actionpack --conservative
💎RubyGemsactionpackall versions3.2.22.1bundle update actionpack --conservative

Affected Products

6 products · 9 configurations
OS
debian linuxdebian
1 version
8.0
OS
leapopensuse
1 version
42.1
OS
opensuseopensuse
1 version
13.2
Application
software collectionsredhat
1 version
1.0
Application
railsrubyonrails
≥ 4.2.0 && < 4.2.5.1
1 version
5.0.0
OS
linux enterprise module for containerssuse
1 version
12
Exploits & PoCs
7

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-40561remotemultiple✓ Verified

Ruby on Rails - Dynamic Render File Upload / Remote Code Execution (Metasploit)

by Metasploit · Oct 17, 2016

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for actionview, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update actionview to 4.1.14.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2016-0752 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant
Workaround published by Red Hat
Avoid passing untrusted input to render method, or verify the input using whitelist before passing it to the render method: ``` def index render verify_template(params[:id]) end private def verify_template(name) # add verification logic particular to your application here end ```
Source: Red Hat security advisory for CVE-2016-0752 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-ror41-rubygem-actionpack-1:4.1.5-3.el6RHSA-2016:0296
Red Hat Software Collections for Red Hat Enterprise Linux 6ror40-rubygem-actionpack-1:4.0.2-7.el6RHSA-2016:0454
Red Hat Software Collections for Red Hat Enterprise Linux 6ruby193-rubygem-actionpack-1:3.2.8-16.el6RHSA-2016:0455

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2016-0752 in your dependencies?

Find it across RubyGems, including transitive dependencies.

CVE-2016-0752: actionview Path Traversal (High 7.5, KEV)