Urgent.News

What's breaking now, across thousands of outlets.

Tech

CVE-2026-44266: CVE-2026-44266: Remote Code Execution in @enspirit/elo Ruby Compiler Backend via Unescaped String Interpolation

CVE-2026-44266: Remote Code Execution in @enspirit/elo Ruby Compiler Backend via Unescaped String Interpolation Vulnerability ID: CVE-2026-44266 CVSS Score: 9.8 Published: 2026-11-03 CVE-2026-44266 (GHSA-7w38-ggh5-v542) is a code injection vulnerability in @enspirit/elo prior to version 1.0.1. The Ruby target compiler fails to escape the hash character (#) when emitting double-quoted Ruby string…

CVE-2026-44266 represents a critical remote code execution vulnerability affecting the @enspirit/elo Ruby compiler backend prior to version 1.0.1. The issue arises from the failure to escape the hash character (#) within double-quoted Ruby string literals when compiling untrusted Elo expressions. This oversight enables attackers to inject and execute arbitrary Ruby code and shell commands by exploiting the unescaped string interpolation mechanism.

The vulnerability falls under the categories of code injection and remote code execution, as classified by CWE-94, CWE-116, and CWE-1336. Affected systems include the @enspirit/elo npm package and its accompanying Elo CLI tool when utilizing the Ruby target (-t ruby) for compiling untrusted input. The CVSS score for this vulnerability is 9.8, indicating a critical severity level.

The fix was introduced in version 1.0.1, which includes an escapeRubyDQ function to properly escape # characters in double-quoted strings. Users are advised to upgrade to the patched version, invalidate and regenerate any cached or pre-compiled Ruby code, avoid using the Ruby backend (-t ruby) for untrusted input, and isolate the execution of compiled expressions within restricted sandboxes.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Tuesday 3 November →