# erb (RubyGems) vulnerabilities

1 known vulnerability (1 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://rubygems.org/gems/erb

## Advisories (1)

### [CVE-2026-41316](https://cve.now/CVE-2026-41316): ERB has an @\_init deserialization guard bypass via def\_module / def\_method / def\_class

- Severity: High 8.1
- Published: Apr 24, 2026
- Affected: fixed in 4.0.3.1; from 4.0.4, fixed in 4.0.4.1; from 5.0.0, fixed in 6.0.1.1; from 6.0.2, fixed in 6.0.4.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/rubygems/erb
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
