CVE-2016-2098 · redhat
CVE-2016-2098
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.
Published 2016-04-07, last changed 2026-06-17. Weakness: CWE-20.
Public exploits
| Source | Kind | Reference |
|---|---|---|
| exploit-db | proof-of-concept | EDB-40086 |
| metasploit | exploit-module | exploit/multi/http/rails_actionpack_inline_exec |
How to fix
Upgrade to a fixed version: actionpack 3.2.22.2, 4.1.14.2, 4.2.5.2 (RubyGems) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in rails/rails by 9e579ef9e2, fcf0f42494. Functions changed by the fix: render. Regression tests: actionpack/test/controller/render_test.rb, actionview/test/template/render_test.rb. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2016-04-07 | Published |
| 2017-10-24 | Package advisory GHSA-78rc-8c29-p45g |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 81.4% |
| 2026-12-01 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-78rc-8c29-p45g | actionpack (RubyGems) | 3.2.22.2 |
| GHSA-78rc-8c29-p45g | actionpack (RubyGems) | 4.1.14.2 |
| GHSA-78rc-8c29-p45g | actionpack (RubyGems) | 4.2.5.2 |
Also known as: GHSA-78rc-8c29-p45g
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-126083 | 2026-11-10 | 7.4 | Action Pack: Possible IP spoofing in Action Dispatch RemoteIp |
| CVE-2026-126081 | 2026-11-10 | 7.5 | Action Pack: Possible Strong Parameters bypass in Parameters#each_key |
| CVE-2026-126077 | 2026-11-10 | 6.8 | Action Pack: Possible sensitive session information leak in Active Storage proxy mode |
| CVE-2026-126076 | 2026-11-10 | 4.2 | Action Pack: Possible restoration of destroyed sessions in Action Dispatch CacheStore |
| CVE-2026-126073 | 2026-11-10 | 4.8 | Action Pack: Possible cache poisoning in Action Pack content negotiation |
| CVE-2026-126072 | 2026-11-10 | 5.9 | Action Pack: Possible DoS vulnerability in Action Controller Live streaming |
| CVE-2026-126067 | 2026-11-10 | 3.1 | Action Pack: Missing SameSite attribute on session cookies from Action Pack session stores |
| CVE-2026-33167 | 2026-03-23 | 6.1 | Rails has a possible XSS vulnerability in its Action Pack debug exceptions |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-2098, or call /api/v1/vulnerabilities/CVE-2016-2098. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.