Ruby 4.0.3 has been released to address a critical security vulnerability (CVE-2026-41316) in ERB involving unsafe deserialization. The flaw allows arbitrary code execution when Marshal.load is used on untrusted data, as three ERB methods (def_method, def_module, def_class) bypass the @_init guard. Most Ruby on Rails
Sort: