A deserialization vulnerability in Ruby's ERB templating system allows attackers to bypass an instance variable guard designed to prevent code execution during deserialization. The flaw exists because certain public methods (def_method, def_module, def_class) evaluate template source code without checking the @_init guard, enabling remote code execution when untrusted data is deserialized. This can be exploited via crafted Marshal.load payloads, including gadget chains involving ActiveSupport proxies. The vulnerability affects multiple ERB versions prior to fixed releases and has a high severity CVSS score of 8.1.