MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-41316GHSA-q339-8rmv-2mhvUBUNTU-CVE-2026-41316WID-SEC-W-2026-1187:CVE-2026-41316WID-SEC-W-2026-2379:CVE-2026-41316WID-SEC-W-2026-2455:CVE-2026-41316

ERB has an @_init deserialization guard bypass via def_module / def_method / def_class

Not on CISA KEV
  • Overview

Summary

ERB is a templating system for Ruby. Ruby 2.7.0 (before ERB 2.2.0 was published on rubygems.org) introduced an `@_init` instance variable guard in `ERB#result` and `ERB#run` to prevent code execution when an ERB object is reconstructed via `Marshal.load` (deserialization). However, three other

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)
  • Red Hat Source: Red Hat Security Data (CC BY 4.0)
  • Ubuntu Source: Ubuntu