CRITICALRubyGems →
ERB has an @_init deserialization guard bypass via def_module / def_method / def_class
ERB has an @_init deserialization guard bypass via def_module / def_method / def_class
Affected packages
- erb— before 4.0.3.1
Exploit signal
- Known exploited (CISA KEV)
- No
- EPSS score
- —
- EPSS percentile
- —
EPSS is the probability a CVE is exploited in the wild; percentile is its rank among all CVEs.
Sources
- https://github.com/ruby/erb/security/advisories/GHSA-q339-8rmv-2mhv
- https://nvd.nist.gov/vuln/detail/CVE-2026-41316
- https://github.com/ruby/erb
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/erb/CVE-2026-41316.yml
Structured record: https://osv.dev/vulnerability/GHSA-q339-8rmv-2mhv
Recommended response stack
Some links are affiliate links — HackTribune may earn a commission at no extra cost to you.
Get incidents like this as alerts for your stack.
Join the beta