Skip to content
Emerging threatsHigh

CVE-2016-2098Rails Code Injection

actionpack allows remote code execution via application's unrestricted use of render method

Published Apr 7, 2016 · Updated Oct 24, 2026 · Also known as DEBIAN-CVE-2016-2098, GHSA-78rc-8c29-p45g, SUSE-SU-2016:0867-1, SUSE-SU-2017:2716-1, openSUSE-SU-2024:10057-1

Key Facts

Patch immediately
  • CVE-2016-2098 is a high-severity vulnerability (CVSS 7.3 v3.1) affecting Rails (Rubyonrails), Ruby On Rails (Rubyonrails), Debian Linux and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 81% probability of exploitation in the next 30 days.
  • Fixed versions are available, including actionpack 3.2.22.2, actionpack 4.1.14.2, actionpack 4.2.5.2.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

7.3

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

EPSS (30-day exploit likelihood)

81%

Higher than 99.6% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

65/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method.

Affected Products

218 affected entries in total
ProductAffected versionsFixed in
RailsRubyonrails4.0.0, 4.0.0-beta, 4.0.0-rc1, 4.0.0-rc2, 4.0.1, 4.0.10-rc1, 4.0.1-rc1, 4.0.1-rc22:4.2.5.2-1
Ruby On RailsRubyonrails4.1.14.13.2.22.1
Debian LinuxDebian8.0n/a
ruby-actionpack-3.2debianSee advisory3.2.6-6+deb7u3
actionpackrubygems>= 3.0.04.2.5.2
20 more affected products in the full CVE brief

Patched Releases

actionpack

3.2.22.2, 4.1.14.2, 4.2.5.2

portus

2.0.3-2.4

Rails

2:4.1.8-1+deb8u2, 2:4.2.5.2-1

rh-ror41-rubygem-actionpack

1:4.1.5-4.el6, 1:4.1.5-4.el7

rh-ror41-rubygem-actionview

0:4.1.5-5.el6, 0:4.1.5-5.el7

ror40-rubygem-actionpack

1:4.0.2-7.el6, 1:4.0.2-7.el7

ror40-rubygem-activerecord

1:4.0.2-6.el6, 1:4.0.2-6.el7

ror40-rubygem-activesupport

1:4.0.2-4.el6, 1:4.0.2-4.el7

ruby-actionpack-3.2

3.2.6-6+deb7u3

ruby193-rubygem-actionpack

1:3.2.8-16.el6, 1:3.2.8-16.el7

ruby193-rubygem-activerecord

1:3.2.8-11.el6, 1:3.2.8-11.el7

ruby193-rubygem-activesupport

1:3.2.8-6.el6, 1:3.2.8-6.el7

ruby2.1-rubygem-actionmailer-4_2

4.2.9-3.3.1

ruby2.1-rubygem-actionpack-4_2

4.2.9-7.3.1

ruby2.1-rubygem-actionview-4_1

4.1.9-12.1

ruby2.1-rubygem-actionview-4_2

4.2.2-8.1, 4.2.4-9.1, 4.2.9-9.3.1

ruby2.1-rubygem-actionview-doc-4_2

4.2.4-9.1

ruby2.1-rubygem-activejob-4_2

4.2.9-3.3.1

ruby2.1-rubygem-activemodel-4_2

4.2.9-6.3.1

ruby2.1-rubygem-activerecord-4_2

4.2.9-6.3.1

ruby2.1-rubygem-activesupport-4_2

4.2.9-7.3.1

ruby2.1-rubygem-rails-4_2

4.2.9-3.3.1

ruby2.1-rubygem-rails-html-sanitizer

1.0.3-8.3.1

ruby2.1-rubygem-railties-4_2

4.2.9-3.3.1

ruby2.2-rubygem-actionpack-4_2

4.2.7.1-1.1

Timeline

  1. Publicly disclosed

    Apr 7, 2016

  2. Last updated

    Oct 24, 2026

Weakness Type

  • CWE-20 Improper Input Validation
  • CWE-94 Improper Control of Generation of Code

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2016-2098 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 5, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.