CVE-2016-0752: Ruby on Rails Directory Traversal Vulnerability HIGH 7.5 EXPLOITED REMOTE WATCHLIST UPGRADE MITIGATE MITIGATE
CVE-2016-0752 is a high-severity flaw (CVSS 7.5) affecting rails, leap, opensuse, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority High severity EPSS top 1%: very likely to be exploited Exploited in the wild (CISA KEV) Public exploit reference Remotely exploitable, no login, no user action On your watchlist A fixed release or distro patch exists.
Risk facts CVSS score 7.5 (High) Attack vector Network (remote) Attack complexity Low Privileges needed None User interaction None EPSS exploit chance 95.5% (top 1%) CISA exploited list Yes, fix due 2022-04-15 Weakness CWE-22 Published 2016-02-16 Last modified 2026-06-17
Share: LinkedIn · X · Reddit
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Timeline 2016-02-16 02:59 UTC Published CVE record published2022-03-25 Exploited Added to the CISA Known Exploited Vulnerabilities list2022-04-15 Deadline CISA due date for US federal agencies to patch2026-06-17 00:38 UTC Updated Record last modifiedrubyonrails rails UPGRADE
Affected: < 3.2.22.1 · >= 4.0.0 and < 4.1.14.1 · >= 4.2.0 and < 4.2.5.1 · 5.0.0 beta1
Fixed in: 3.2.22.1, 4.1.14.1, 4.2.5.1
Safe to downgrade to: a release before 4.0.0
1. Check installed version
Copy apt-cache policy rails || rpm -q rails || rails --version
2. UPGRADE to 3.2.22.1 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade rails
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade rails
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 4.0.0 (Debian / Ubuntu)
Copy apt-cache madison rails
sudo apt install rails=<VERSION_BEFORE_4.0.0>
sudo apt-mark hold rails
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list rails
sudo dnf downgrade rails-<VERSION_BEFORE_4.0.0>
sudo dnf versionlock add rails
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
opensuse leap MITIGATE
Affected: 42.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 42.1
Check your OS release
Copy cat /etc/os-release; uname -r
Debian / Ubuntu
Copy sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
Copy sudo dnf upgrade --refresh
Windows
Copy Install the latest cumulative update from Windows Update
If no patch exists yet
Copy OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
opensuse opensuse MITIGATE
Affected: 13.2
Fixed in: no fixed release known
Safe to downgrade to: a release before 13.2
Check your OS release
Copy cat /etc/os-release; uname -r
Debian / Ubuntu
Copy sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
Copy sudo dnf upgrade --refresh
Windows
Copy Install the latest cumulative update from Windows Update
If no patch exists yet
Copy OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
suse linux enterprise module for containers MITIGATE
Affected: 12
Fixed in: no fixed release known
Safe to downgrade to: a release before 12
Check your OS release
Copy cat /etc/os-release; uname -r
Debian / Ubuntu
Copy sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
Copy sudo dnf upgrade --refresh
Windows
Copy Install the latest cumulative update from Windows Update
If no patch exists yet
Copy OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
debian debian linux MITIGATE
Affected: 8.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 8.0
Check your OS release
Copy cat /etc/os-release; uname -r
Debian / Ubuntu
Copy sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
Copy sudo dnf upgrade --refresh
Windows
Copy Install the latest cumulative update from Windows Update
If no patch exists yet
Copy OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
redhat software collections DOWNGRADE
Affected: 1.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.0
1. Check installed version
Copy apt-cache policy software-collections || rpm -q software-collections || software-collections --version
2. No fixed release: DOWNGRADE to a release before 1.0 (Debian / Ubuntu)
Copy apt-cache madison software-collections
sudo apt install software-collections=<VERSION_BEFORE_1.0>
sudo apt-mark hold software-collections
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list software-collections
sudo dnf downgrade software-collections-<VERSION_BEFORE_1.0>
sudo dnf versionlock add software-collections
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
Exact fixes by distribution Show all
A distro patch exists: prefer upgrading over downgrading.
RubyGems · actionview ·
FIXED · 4.1.14.1 · vulnerable: >= 4.0.0, <= 4.1.14.0 ·
source Copy bundle update actionview
bundle list | grep actionview
RubyGems · actionpack ·
FIXED · 4.1.14.1 · vulnerable: >= 4.0.0, <= 4.1.14.0 ·
source Copy bundle update actionpack
bundle list | grep actionpack
Fedora 46 · perl-Net-IDN-Encode ·
FIXED · 2.600-1.fc46 · FEDORA-2026-84eff0ea64 ·
source Copy sudo dnf upgrade --advisory=FEDORA-2026-84eff0ea64
Fedora ELN · libXISF ·
FIXED · 0.2.15-2.eln159 · FEDORA-2026-b9e2d1bda0 ·
source Copy sudo dnf upgrade --advisory=FEDORA-2026-b9e2d1bda0
Debian 12 · rails · FIXED · 2:4.2.5.1-1
Copy sudo apt update && sudo apt install --only-upgrade rails
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' rails)" ge "2:4.2.5.1-1" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · rails · FIXED · 2:4.2.5.1-1
Copy sudo apt update && sudo apt install --only-upgrade rails
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' rails)" ge "2:4.2.5.1-1" && echo PATCHED || echo STILL-VULNERABLE
Public exploits and detection Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Quick answers How do I fix CVE-2016-0752? rails: upgrade to 3.2.22.1, 4.1.14.1, 4.2.5.1; leap: mitigate or apply the listed mitigation; opensuse: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2016-0752 being exploited? Yes. CVE-2016-0752 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2016-0752 affect? CVE-2016-0752 affects rails, leap, opensuse. Severity is high (CVSS 7.5). 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 applicat
How urgent is CVE-2016-0752? Priority 91/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages Ruby on Rails vulnerabilities · Debian vulnerabilities · Ruby vulnerabilities
Related CVEs CVE-2023-22795 HIGH 7.5 UPGRADE MITIGATE A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-MCVE-2023-22792 HIGH 7.5 UPGRADE A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1CVE-2026-33167 MEDIUM 6.1 UPGRADE Action Pack is a Rubygem for building web applications on the Rails frameworkCVE-2026-33195 CRITICAL 9.8 UPGRADE Active Storage allows users to attach cloud and local files in Rails applicationsCVE-2026-33658 MEDIUM 6.5 UPGRADE Active Storage allows users to attach cloud and local files in Rails applicationsReferences ← Back to latest CVEs