CVE-2026-41316
Patch priority
This weekHigh severity or noticeable probability of exploitation.
- CVSS
- 8.1
- Severity
- 8.1
- EPSS
- 1.1 %
- Percentile
- 68
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
The affected product is not specified yet – the description below usually names it.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Update within the next few days.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDERB 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 public methods that also evaluate `@src` via `eval()` were not given the same guard: `ERB#def_method`, `ERB#def_module`, and `ERB#def_class`. An attacker who can trigger `Marshal.load` on untrusted data in a Ruby application that has `erb` loaded can use `ERB#def_module` (zero-arg, default parameters) as a code execution sink, bypassing the `@_init` protection entirely. ERB 4.0.3.1, 4.0.4.1, 6.0.1.1, and 6.0.4 patch the issue.
- Published
- 24.04.2026
- Modified
- 26.10.2026
- CWE
- CWE-693
- Status
- Deferred
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor updates
9- SUSE: SUSE-SU-2026:24933-1 – Security update for ruby3.4 26.11.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:5416-1 – Security update for ruby2.5 24.11.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:3556-1 – Security update for ruby2.5 11.08.2026 · HIGH · Patch day
- Red Hat: RHSA-2026:37238 – RHSA-2026:37238 ruby-0:3.3.10-6.module+el9.6.0+24475+76cce029.i686::ruby:3.3 security update 09.07.2026 · Patch day
- Red Hat: RHSA-2026:35834 – RHSA-2026:35834 ruby security update 06.07.2026 · Patch day
- Red Hat: RHSA-2026:33478 – RHSA-2026:33478 ruby security update 30.06.2026 · Patch day
- Red Hat: RHSA-2026:33462 – RHSA-2026:33462 ruby security update 30.06.2026 · Patch day
- Red Hat: RHSA-2026:26655 – RHSA-2026:26655 ruby-0:3.3.10-6.module+el9.4.0+24333+ed4ca411.i686::ruby:3.3 security update 17.06.2026 · Patch day
- Red Hat: RHSA-2026:26312 – RHSA-2026:26312 ruby security update 16.06.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.