CVEBrief

Home / Rubyonrails / Rails / CVE-2016-2097

CVE-2016-2097: is it exploited, and which versions of Rubyonrails Rails are affected and fixed?

CVE-2016-2097 is a path traversal (reading or writing files outside the intended folder) vulnerability in Rubyonrails Rails. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: actionview from 3.0.0 before 3.2.22.2, actionview from 4.0.0 before 4.1.14.2, actionpack from 3.0.0 before 3.2.22.2 and 1 more (GitHub advisory GHSA-vx9j-46rh-fqr8). Fixed in 3.2.22.2 and 4.1.14.2 (GitHub advisory GHSA-vx9j-46rh-fqr8). Severity: Medium (5.3, CVSS 3.0, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:45 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 06:38 UTC
Affected
actionview from 3.0.0 before 3.2.22.2, actionview from 4.0.0 before 4.1.14.2, actionpack from 3.0.0 before 3.2.22.2 and 1 more
GitHub advisory GHSA-vx9j-46rh-fqr8
Fixed in
3.2.22.2 and 4.1.14.2
GitHub advisory GHSA-vx9j-46rh-fqr8
Severity
Medium 5.3
CVSS 3.0 from NVD
Exploit odds (EPSS)
4.42% in 30 days
higher than 92% of CVEs; FIRST, December 2, 2026

What is CVE-2016-2097?

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1.14.2 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.

From the CVE record by redhat, last updated August 5, 2024, 23:17 UTC.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
RubyGemsactionview>= 3.0.0, < 3.2.22.23.2.22.2GHSA-vx9j-46rh-fqr8
RubyGemsactionview>= 4.0.0, < 4.1.14.24.1.14.2GHSA-vx9j-46rh-fqr8
RubyGemsactionpack>= 3.0.0, < 3.2.22.23.2.22.2GHSA-vx9j-46rh-fqr8
RubyGemsactionpack>= 4.0.0, < 4.1.14.24.1.14.2GHSA-vx9j-46rh-fqr8

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 5, 2023. Summary: actionview contains Path Traversal vulnerability.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
rubyonrailsrails4.0.0application
rubyonrailsrails4.0.1application
rubyonrailsrails4.0.2application
rubyonrailsrails4.0.3application
rubyonrailsrails4.0.4application
rubyonrailsrails4.0.5application
rubyonrailsrails4.0.6application
rubyonrailsrails4.0.7application
rubyonrailsrails4.0.8application
rubyonrailsrails4.0.9application
rubyonrailsrails4.0.10application
rubyonrailsrails4.1.0application
rubyonrailsrails4.1.1application
rubyonrailsrails4.1.2application
rubyonrailsrails4.1.3application
rubyonrailsrails4.1.4application
rubyonrailsrails4.1.5application
rubyonrailsrails4.1.6application
rubyonrailsrails4.1.7application
rubyonrailsrails4.1.7.1application
rubyonrailsrails4.1.8application
rubyonrailsrails4.1.9application
rubyonrailsrails4.1.10application
rubyonrailsrails4.1.12application
rubyonrailsrails4.1.13application

NVD analysis (status Modified), last modified June 17, 2026, 00:43 UTC.

How severe is CVE-2016-2097?

ScoreVersionVectorSource
Medium 5.3CVSS 3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NNVD
Medium 5.0CVSS 2.0AV:N/AC:L/Au:N/C:P/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2016-2097 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
4.42% probability of exploitation activity in the next 30 days, percentile 91.6 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
January 29, 2016
Published
April 7, 2016, 23:00 UTC
CVE record updated
August 5, 2024, 23:17 UTC by redhat
NVD
Modified, last modified June 17, 2026, 00:43 UTC
Last checked
CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Rails?

Every CVE in Rails

Questions about CVE-2016-2097

Is CVE-2016-2097 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 4.42% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Rubyonrails Rails are affected by CVE-2016-2097?

actionview from 3.0.0 before 3.2.22.2, actionview from 4.0.0 before 4.1.14.2, actionpack from 3.0.0 before 3.2.22.2 and actionpack from 4.0.0 before 4.1.14.2, per the GitHub advisory GHSA-vx9j-46rh-fqr8. The tables above give every range the sources list.

Which version fixes CVE-2016-2097?

3.2.22.2 and 4.1.14.2, per the GitHub advisory GHSA-vx9j-46rh-fqr8. Check the vendor's advisory before you rely on it.

How severe is CVE-2016-2097?

Medium (5.3, CVSS 3.0, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2016-2097?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.