Vulnerabilityin the actionpack package.
Weaponized: a Metasploit exploit is public.
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.
- Upgrade actionpack (RubyGems) to 3.2.22.2, 4.1.14.2, 4.2.5.2 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 29 Jan 2016CVE ID reserved by redhat.
- 1 Mar 2016First public proof of concept on GitHub.
- 1 Mar 2016Metasploit module: Ruby on Rails ActionPack Inline ERB Code Execution.
- 7 Apr 2016Published in the CVE List.
- 5 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- groups.google.com mailing-list, x_refsource_MLIST
- weblog.rubyonrails.org x_refsource_CONFIRM
Patchminder. CVE-2016-2098: Vulnerability in the actionpack package. https://patchminder.com/cve/cve-2016-2098/ (accessed 5 December 2026).