CVE-2026-44266: Elo Ruby backend has Remote Code Execution via unescaped `#{...}` interpolation in emitted string literals and subtype-constraint labels
Published 2026-11-03 · Updated 2026-11-03 · Also known as GHSA-7w38-ggh5-v542
Summary
The Elo Ruby backend suffers from Remote Code Execution via unescaped interpolation sequences in emitted string literals and subtype-constraint labels. Maintainers and downstream users of the @enspirit/elo npm package should upgrade immediately.
Who is affected
Deployments compiling Elo code to Ruby via the `@enspirit/elo` package are vulnerable to remote code execution when processing attacker-controlled strings or constraint labels. This impacts web playgrounds, CI/CD pipelines, and applications using Elo as a rule engine, configuration DSL, or form builder. The vulnerability allows execution of arbitrary shell commands through Ruby string interpolation and backticks.
Exploitability
The vulnerability is remotely exploitable over a network without requiring authentication or user interaction, resulting in a critical CVSS base score of 9.8. The EPSS score indicates a very low current probability of exploitation in the wild, and CISA KEV lists active exploitation as no.
Remediation
- Upgrade the npm package @enspirit/elo to version 1.0.1 or later.
- Avoid compiling untrusted Elo code to Ruby targets prior to patching.
How to check your project
- Check project dependency files (such as package.json or package-lock.json) for the @enspirit/elo package within version ranges introduced at 0 and fixed before 1.0.1.
- Search build pipelines or application source code for usages of the Elo compiler targeting Ruby with untrusted input.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | @enspirit/elo |
>= 0, < 1.0.1 | 1.0.1 | npm install @enspirit/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
FAQ
Are targets other than Ruby affected?
No, the vulnerability is specific to the Ruby backend emitter; compiled JavaScript, Python, and SQL targets are benign.
What are the specific vulnerable sinks in the codebase?
The vulnerable sinks are located in src/compilers/ruby.ts, specifically the string-literal emitter and the labelled subtype-constraint branch.
Is there active exploitation in the wild?
No, CISA Known Exploited Vulnerabilities indicates no active exploitation at this time.
Original advisory description
References
- WEB https://github.com/enspirit/elo/security/advisories/GHSA-7w38-ggh5-v542
- WEB https://github.com/enspirit/elo/commit/51b869963fbe445c18328714a7ccfbd76b21ba38
- WEB https://github.com/enspirit/elo/commit/d2a89a8db76a244eb740687524a7e8529b7554b5
- PACKAGE https://github.com/enspirit/elo
Source records: GHSA-7w38-ggh5-v542 (OSV.dev) · EPSS by FIRST, 2026-11-21.