Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @enspirit/elo
  4. ›
  5. CVE-2026-44266

CVE-2026-44266: Elo Ruby backend has Remote Code Execution via unescaped `#{...}` interpolation in emitted string literals and subtype-constraint labels

November 3, 2026

Elo’s Ruby backend emits attacker-controlled text into Ruby double-quoted strings without escaping the # character. Because # begins Ruby’s interpolation sequences — #{expr}, #@ivar, #@@cvar, #$gvar — and any expression wrapped in #{...} may use backticks for shell execution, an Elo program that contains a crafted string literal or a labelled subtype constraint compiles to Ruby that evaluates attacker-chosen Ruby, and through backticks runs attacker-chosen shell commands, at runtime.

The same Elo source compiled to JavaScript, Python, or SQL is benign, so the bug also breaks the cross-target portability guarantee the rest of the compiler honours.

References

  • github.com/advisories/GHSA-7w38-ggh5-v542
  • github.com/enspirit/elo/commit/51b869963fbe445c18328714a7ccfbd76b21ba38
  • github.com/enspirit/elo/commit/d2a89a8db76a244eb740687524a7e8529b7554b5
  • github.com/enspirit/elo/security/advisories/GHSA-7w38-ggh5-v542
  • nvd.nist.gov/vuln/detail/CVE-2026-44266

Code Behaviors & Features

Detect and mitigate CVE-2026-44266 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.1

Fixed versions

  • 1.0.1

Solution

Upgrade to version 1.0.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@enspirit/elo/CVE-2026-44266.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:24 +0000.