KeygraphLabs · CVE MCP

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.

CVSS
7.3
high, from NVD
EPSS
81.4%
percentile 99.6%, chance of exploitation in 30 days
Exploitation
Public exploit
2 public references

Public exploits

SourceKindReference
exploit-dbproof-of-conceptEDB-40086
metasploitexploit-moduleexploit/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-07Published
2017-10-24Package advisory GHSA-78rc-8c29-p45g
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 81.4%
2026-12-01Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-78rc-8c29-p45gactionpack (RubyGems)3.2.22.2
GHSA-78rc-8c29-p45gactionpack (RubyGems)4.1.14.2
GHSA-78rc-8c29-p45gactionpack (RubyGems)4.2.5.2

Also known as: GHSA-78rc-8c29-p45g

Related

CVEPublishedCVSSSummary
CVE-2026-1260832026-11-107.4Action Pack: Possible IP spoofing in Action Dispatch RemoteIp
CVE-2026-1260812026-11-107.5Action Pack: Possible Strong Parameters bypass in Parameters#each_key
CVE-2026-1260772026-11-106.8Action Pack: Possible sensitive session information leak in Active Storage proxy mode
CVE-2026-1260762026-11-104.2Action Pack: Possible restoration of destroyed sessions in Action Dispatch CacheStore
CVE-2026-1260732026-11-104.8Action Pack: Possible cache poisoning in Action Pack content negotiation
CVE-2026-1260722026-11-105.9Action Pack: Possible DoS vulnerability in Action Controller Live streaming
CVE-2026-1260672026-11-103.1Action Pack: Missing SameSite attribute on session cookies from Action Pack session stores
CVE-2026-331672026-03-236.1Rails 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.

NVD · CVE.org