Threat landscape
high

Ruby und Ruby on Rails (erb gem): Schwachstelle ermöglicht Codeausführung

WID-SEC-2026-1187 · first 21.04.2026 · updated 01.10.2026 · CVSS 9,8

×

What it is about

Ruby ist eine interpretierte, objektorientierte Skriptsprache. Ruby on Rails ist ein in der Programmiersprache Ruby geschriebenes und quelloffenes Web Application Framework. Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Ruby und Ruby on Rails ausnutzen, um Sicherheitsmaßnahmen zu umgehen und so beliebigen Code auszuführen.

Under what conditions?

Over the network and without logging in. This is the most dangerous combination: attackers can scan reachable devices automatically.

What can happen in the worst case

An attacker could use the vulnerability to

  • Sicherheitsmaßnahmen zu umgehen
  • so beliebigen Code auszuführen

Am I affected?

Affected according to the BSI:

  • Debian Linux
  • Red Hat Enterprise Linux
  • Oracle Linux
  • RESF Rocky Linux
  • Gentoo Linux
  • Open Source Ruby erb gem <4.0.3.1
  • Open Source Ruby erb gem <4.0.4.1
  • Open Source Ruby erb gem <6.0.1.1
  • Open Source Ruby erb gem <6.0.4
  • Open Source Ruby on Rails erb gem <4.0.3.1
  • Open Source Ruby on Rails erb gem <4.0.4.1
  • Open Source Ruby on Rails erb gem <6.0.1.1

and 10 more

The installed version is usually shown under “Help → About” or in the device’s admin interface.

What helps?

Update to at least:

  • Open Source Ruby erb gem 4.0.3.1
  • Open Source Ruby erb gem 4.0.4.1
  • Open Source Ruby erb gem 6.0.1.1
  • Open Source Ruby erb gem 6.0.4
  • Open Source Ruby on Rails erb gem 4.0.3.1
  • Open Source Ruby on Rails erb gem 4.0.4.1
  • Open Source Ruby on Rails erb gem 6.0.1.1
  • Open Source Ruby on Rails erb gem 6.0.4

Is the vulnerability already being exploited?

None of the CVEs is in the CISA catalogue of exploited vulnerabilities. That does not mean there are no attacks, only that none are documented.

Information and sources

and 10 more sources in the original advisory

CVE: CVE-2026-41316

Source: BSI warning and information service (CERT-Bund); CISA. The assessment of the conditions is my reading of the BSI text; the external pages are in their original language.

Set up in an hour, trained in a week.

Create a free account, add your team, unlock the course. You only pay when you start. Would you rather see what a test email looks like first? The self-test is free.

Add your team Test it yourself first