Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
CISA KEV·Added 2022-03-25 — agencies required to remediate by 2022-04-15
💎 RubyGems

GHSA-xrr4-p6fq-hjg7

HIGH

Directory traversal vulnerability in Action View in Ruby on Rails

Also known asCVE-2016-0752
Published
Oct 24, 2017
Updated
Oct 22, 2025
Affected
5 pkgs
Patched
5 / 5
Exploits
7 known

EPSS Exploitation Probability

via FIRST.org ↗
95.5%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
89.0%91.7%94.4%97.0%92.5%95.5%Jan 26May 26Jul 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

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
💎RubyGemsactionview4.0.0&&< 4.1.14.14.1.14.1
💎RubyGemsactionview4.2.0&&< 4.2.5.14.2.5.1
💎RubyGemsactionpack4.0.0&&< 4.1.14.14.1.14.1
💎RubyGemsactionpack4.2.0&&< 4.2.5.14.2.5.1
💎RubyGemsactionpackall versions3.2.22.1
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. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  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 GHSA-xrr4-p6fq-hjg7 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-xrr4-p6fq-hjg7 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-xrr4-p6fq-hjg7. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

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 GHSA-xrr4-p6fq-hjg7 in your dependencies?

O3 detects GHSA-xrr4-p6fq-hjg7 across RubyGems dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.