CVE-2026-44266 enspirit · elo
AI summary
The Ruby backend of Elo before 1.0.1 does not escape #, so attacker-controlled text becomes executable Ruby code and shell commands when the compiled Ruby runs. Only Ruby output is affected; critical (CVSS 9.8), upgrade to 1.0.1.
Official description
Elo is a purely functional expression language for no-code tools. Prior to 1.0.1, the Ruby backend in src/compilers/ruby.ts embeds attacker-controlled text in Ruby double-quoted strings without escaping #, so Ruby interpolation forms in the string-literal emitter or the labelled subtype-constraint branch become executable Ruby. The affected entry points include the /try playground with the Ruby target, bin/eloc -t ruby -x, and defaultFormats.elo.parse() followed by Ruby emission. A failing labelled subtype constraint evaluates its message, while an ordinary string literal is evaluated when the compiled Ruby runs, allowing Ruby code and shell command execution through backticks. JavaScript, Python, and SQL emission are not affected by this Ruby-specific path. This issue is fixed in version 1.0.1.
- Published
- 2026-11-03 18:18 UTC
- Modified
- 2026-11-12 22:18 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 1.05% (percentile 64)
- ENISA EUVD
- EUVD-2026-116110
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-94
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/enspirit/elo/commit/51b869963fbe445c18328714a7ccfbd76b21ba38 - github.com
https://github.com/enspirit/elo/commit/d2a89a8db76a244eb740687524a7e8529b7554b5 - github.com
https://github.com/enspirit/elo/security/advisories/GHSA-7w38-ggh5-v542