Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2016-0752: Ruby on Rails Directory Traversal Vulnerability

91
Patch now
HIGH 7.5EXPLOITEDREMOTEWATCHLISTUPGRADEMITIGATEMITIGATE

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 score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance95.5% (top 1%)
CISA exploited listYes, fix due 2022-04-15
WeaknessCWE-22
Published2016-02-16
Last modified2026-06-17
Publisher (CNA): Red Hat, Inc. · Vendor: debian · opensuse · redhat · rubyonrails · suse

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

rubyonrails 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
apt-cache policy rails || rpm -q rails || rails --version
2. UPGRADE to 3.2.22.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade rails
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade rails
Note
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)
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)
dnf --showduplicates list rails sudo dnf downgrade rails-<VERSION_BEFORE_4.0.0> sudo dnf versionlock add rails
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
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
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
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
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
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
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
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
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
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
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)
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)
dnf --showduplicates list software-collections sudo dnf downgrade software-collections-<VERSION_BEFORE_1.0> sudo dnf versionlock add software-collections
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
RubyGems · actionview · FIXED · 4.1.14.1 · vulnerable: >= 4.0.0, <= 4.1.14.0 · source
bundle update actionview bundle list | grep actionview
RubyGems · actionpack · FIXED · 4.1.14.1 · vulnerable: >= 4.0.0, <= 4.1.14.0 · source
bundle update actionpack bundle list | grep actionpack
Fedora 46 · perl-Net-IDN-Encode · FIXED · 2.600-1.fc46 · FEDORA-2026-84eff0ea64 · source
sudo dnf upgrade --advisory=FEDORA-2026-84eff0ea64
Fedora ELN · libXISF · FIXED · 0.2.15-2.eln159 · FEDORA-2026-b9e2d1bda0 · source
sudo dnf upgrade --advisory=FEDORA-2026-b9e2d1bda0
Debian 12 · rails · FIXED · 2:4.2.5.1-1
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
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.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.