{"id":"GHSA-7w38-ggh5-v542","revision":null,"records":[{"revision":"81d4dc201e424694a2a57c321d1a7d44","observedAt":"2026-11-03T21:57:16.832+00:00","statement":{"source":"cve-program","id":"CVE-2026-44266","aliases":[],"title":"Elo: Remote Code Execution in Elo Ruby backend via unescaped `#{...}` interpolation in emitted string literals and subtype-constraint labels","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.","state":0,"publishedAt":"2026-11-03T17:51:12.013+00:00","modifiedAt":"2026-11-03T19:39:09.624+00:00","affected":[{"ecosystem":"Vendor product","name":"elo","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"enspirit\",\n                    \"product\": \"elo\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.0.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/enspirit/elo/security/advisories/GHSA-7w38-ggh5-v542","https://github.com/enspirit/elo/commit/51b869963fbe445c18328714a7ccfbd76b21ba38","https://github.com/enspirit/elo/commit/d2a89a8db76a244eb740687524a7e8529b7554b5"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-44266","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-44266","identifiers":["CVE-2026-44266"]},"retained":false,"historicalAffected":[]},{"revision":"a139a488d3014756ac5b461926c59288","observedAt":"2026-11-11T21:59:39.149+00:00","statement":{"source":"euvd","id":"EUVD-2026-116110","aliases":["CVE-2026-44266","GHSA-7w38-ggh5-v542"],"title":"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…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":null}],"references":["https://github.com/enspirit/elo/security/advisories/GHSA-7w38-ggh5-v542","https://github.com/enspirit/elo/commit/51b869963fbe445c18328714a7ccfbd76b21ba38","https://github.com/enspirit/elo/commit/d2a89a8db76a244eb740687524a7e8529b7554b5"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-116110","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 3, 2026, 5:51:12 PM","dateUpdated":"Nov 3, 2026, 7:39:09 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-116110","identifiers":["EUVD-2026-116110","CVE-2026-44266","GHSA-7w38-ggh5-v542"]},"retained":false,"historicalAffected":[]},{"revision":"daef8f7a2f9142ce803be657715b72ea","observedAt":"2026-11-05T19:36:55.205+00:00","statement":{"source":"nvd","id":"CVE-2026-44266","aliases":[],"title":"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…","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.","state":0,"publishedAt":"2026-11-03T18:18:02.957+00:00","modifiedAt":"2026-11-03T20:18:13.823+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/enspirit/elo/commit/51b869963fbe445c18328714a7ccfbd76b21ba38","https://github.com/enspirit/elo/commit/d2a89a8db76a244eb740687524a7e8529b7554b5","https://github.com/enspirit/elo/security/advisories/GHSA-7w38-ggh5-v542"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-44266","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Received","weaknesses":["CWE-94","CWE-116","CWE-1336"],"productCriteria":[],"sourceDates":{"published":"2026-11-03T18:18:02.957","lastModified":"2026-11-03T20:18:13.823"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-44266","identifiers":["CVE-2026-44266"]},"retained":false,"historicalAffected":[]},{"revision":"a50c9bf527bf4b01912e5e4f6c01b3aa","observedAt":"2026-11-03T18:57:56.853+00:00","statement":{"source":"osv","id":"GHSA-7w38-ggh5-v542","aliases":["CVE-2026-44266"],"title":"Elo Ruby backend has Remote Code Execution via unescaped `#{...}` interpolation in emitted string literals and subtype-constraint labels","description":"### Summary\n\nElo'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.\n\nThe 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.\n\n### Vulnerable sinks\n\nTwo sinks exist in `src/compilers/ruby.ts` at commit `749af7b`:\n\n1. **String-literal emitter — lines 180–184.**\n   The emitter escapes backslash, double quote, and control characters, but not `#`. Any `#{...}` sequence in an Elo string literal flows straight into the emitted Ruby source.\n\n2. **Labelled subtype-constraint branch — lines 405–412.**\n   The error message passed to `p_fail(p, \"...\")` is wrapped in a Ruby double-quoted string with no escape pass at all. Because the parser at `src/parser.ts:1339–1348` accepts single-quoted Elo strings as constraint labels, a label such as `'#{` `` `id` `` `}'` flows unchanged into the emitted Ruby.\n\n### Attack surfaces\n\nAll three surfaces share the same root cause (the missing `#` escape in the Ruby double-quoted-string emission path) and are addressed by the same patch:\n\n| # | Entry point | Threat model |\n|---|---|---|\n| 1 | `/try` playground on elo-lang.org (Ruby target) | 0-click server-side RCE against elo-lang.org infrastructure from a shared PoC URL |\n| 2 | `bin/eloc -t ruby -x` on a CI or DevOps host | RCE on any host that passes Elo strings through the CLI |\n| 3 | Library API — `defaultFormats.elo.parse()` with a Ruby emission step | Ruby RCE for any downstream integrator using Elo as a rule engine, configuration DSL, or form builder DSL (the primary documented use cases) |\n\n### Proof of Concept\n\n**String-literal sink:**\n\n```\n# poc.elo\n'RES=#{`id 2>&1`}'\n```\n\n```\n$ eloc -t ruby -x poc.elo\n# emitted Ruby contains:  \"RES=#{`id 2>&1`}\"\n# running it returns the output of id(1).\n```\n\nReplacing `` `id 2>&1` `` with `` `touch /tmp/pwned` `` produces a trivially observable filesystem side effect.\n\n**Subtype-constraint label sink:**\n\n```\n# poc-subtype.elo\nlet X = Int(i | '#{`touch /tmp/pwned2`}': i > 0) in X(-1)\n```\n\nThe predicate fails for `-1`, causing `p_fail(p, \"#{...}\")` to interpolate and execute the backtick command at the Ruby layer.\n\nBoth flows are automated in the reproduction script submitted with the original report and were verified against Ruby 3.x.\n\n### Root cause\n\nThe Ruby-emitter's double-quoted-string escape routine omitted `#` from its character set, and one emission path (the subtype-constraint label branch) performed no escape pass at all.","state":0,"publishedAt":"2026-11-03T17:51:30+00:00","modifiedAt":"2026-11-03T18:02:25.9306966+00:00","affected":[{"ecosystem":"npm","name":"@enspirit/elo","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/enspirit/elo/security/advisories/GHSA-7w38-ggh5-v542","https://github.com/enspirit/elo/commit/51b869963fbe445c18328714a7ccfbd76b21ba38","https://github.com/enspirit/elo/commit/d2a89a8db76a244eb740687524a7e8529b7554b5","https://github.com/enspirit/elo"],"sourceUrl":"https://github.com/advisories/GHSA-7w38-ggh5-v542","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7w38-ggh5-v542","identifiers":["GHSA-7w38-ggh5-v542","CVE-2026-44266"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-13T14:58:44.3363234+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-13T14:58:44.3363234+00:00","lastSuccessAt":"2026-11-13T14:58:44.5141359+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:44.5141368+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d8fa82e95fdb59244e2f635e667ba17f0796ca0a4f1f4bb8cc31febcd660b76c-321382fc5730a00bef582c627181233f63f76828d1f8c684a35769006df72dd6","complete":true,"records":425393,"lastAttemptAt":"2026-11-13T14:56:59.0753591+00:00","lastSuccessAt":"2026-11-13T14:56:58.979484+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:56:59.0753591+00:00","snapshotPublishedAt":"2026-11-13T14:29:09+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-96b53c8ff04541e29e62a8d3ea5833be","complete":false,"records":13797,"lastAttemptAt":"2026-11-13T15:02:43.7034868+00:00","lastSuccessAt":"2026-11-13T15:02:43.7645763+00:00","error":null,"lastVerifiedAt":"2026-11-13T15:02:43.7645763+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-13T14:58:44.3363234+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-13T14:58:44.3363234+00:00","lastSuccessAt":"2026-11-13T14:58:44.5149276+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:44.5149277+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-c4db44c2f8494656b34b99b9689fe3fd","complete":true,"records":13797,"lastAttemptAt":"2026-11-13T14:58:49.0732225+00:00","lastSuccessAt":"2026-11-13T14:58:49.069+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:49.069+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13850,"expectedIdentifiers":13850,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-93e76d404e1aeb6a7e8902f5ffa06211fc86dea3b1958e297abb2668aa5e6e8c","complete":true,"records":9952,"lastAttemptAt":"2026-11-13T14:58:40.3714043+00:00","lastSuccessAt":"2026-11-12T23:19:15.5239119+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:40.3714043+00:00","snapshotPublishedAt":"2026-11-12T23:03:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-13T14:56:59.1280107+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:56:59.1280107+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-b98055ddd8730ffa62c2a08d5fcf33dfdf9704c3bfb02936eddd878e2c44c283","complete":true,"records":3146,"lastAttemptAt":"2026-11-13T14:58:44.2985337+00:00","lastSuccessAt":"2026-11-13T14:58:44.1320252+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:44.2985337+00:00","snapshotPublishedAt":"2026-11-13T13:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-1c778759030c865168b5e9dee5772455ec2cc2e719ea7dfbebee29f18fbbe4ff","complete":true,"records":231771,"lastAttemptAt":"2026-11-13T14:58:40.2396052+00:00","lastSuccessAt":"2026-11-13T14:58:38.6112066+00:00","error":null,"lastVerifiedAt":"2026-11-13T14:58:40.2396052+00:00","snapshotPublishedAt":"2026-11-13T14:32:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}