CVE-2026-44267

Elo: Sandbox escape to arbitrary Node.js / browser code execution via unfiltered `.constructor` member access in Elo JavaScript emitter

Published Nov 3, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
Elo is a purely functional expression language for no-code tools. Prior to 1.0.1, plain Elo strings supplied to defaultFormats.elo.parse(), bin/elo, or elo-lang.org/try can use .constructor.constructor to reach JavaScript Function because the member_access handler in src/transform.ts does not reject meta-properties, src/compilers/javascript.ts emits the surviving property directly, and src/parser.ts accepts constructor as an ordinary identifier. The resulting generated JavaScript executes attacker-selected code in the host runtime. This permits browser script execution and session compromise on the auto-running playground and arbitrary Node.js code execution on library, CI, or DevOps hosts. This plain-string path is distinct from the programmatic AST-object injection issue. This issue is fixed in version 1.0.1.

Analysis

AI-generated

Technical impact

Elo, a functional expression language for no‑code tools, allowed the .constructor property to be accessed without validation when parsing plain Elo strings via defaultFormats.elo.parse(), bin/elo, or the online try feature. The member_access handler in src/transform.ts does not reject meta‑properties, src/compilers/javascript.ts emits the property directly, and src/parser.ts accepts constructor as an ordinary identifier. This flaw enables an attacker to build a JavaScript Function object by chaining .constructor.constructor, causing arbitrary host‑runtime code to execute. The resulting JavaScript runs with the privileges of the running environment, enabling browser script execution that can compromise a user session on the auto‑running playground and arbitrary Node.js code execution on library, CI, or DevOps hosts.

Affected Systems

The vulnerability affects the Enspirit:elo product, specifically Elo expression language libraries and tools installed before version 1.0.1. All consumers of the Elo parser that pass user‑supplied strings, including the web playground and any Node.js applications that invoke Elo parsing, are susceptible until the product is upgraded to at least version 1.0.1.

Risk and Exploitability

The CVSS score of 9.8 indicates critical impact for availability, confidentiality, and integrity. EPSS data is not available, so the likelihood of exploitation is currently unknown but the flaw is open to any untrusted string input. The vulnerability is not listed in the CISA KEV catalog, but its mechanism—unfiltered meta‑property access leading to JavaScript Function creation—makes it a prime target for automated exploitation. Attackers can deliver malicious Elo strings through any interface that processes EOL code, making the risk high in both browser and server contexts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Elo to version 1.0.1 or later to eliminate the vulnerable meta‑property check.
  • Disable or restrict any interfaces that accept untrusted Elo strings, such as the online playground or public API endpoints, until a patch is applied.
  • If upgrade is not immediately possible, wrap Elo parsing in a sandboxed process with minimal privileges and reject or sanitize user‑supplied Elo strings before feeding them to the parser, ensuring that the .constructor property is not evaluated.

Generated by OpenCVE AI on November 3, 2026 at 20:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-33r5-xmm8-v6x5 Elo JavaScript emitter has sandbox escape to arbitrary Node.js / browser code execution via unfiltered `.constructor` member access
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Enspirit
Enspirit elo
Vendors & Products Enspirit
Enspirit elo
Type Values Removed Values Added
Description Elo is a purely functional expression language for no-code tools. Prior to 1.0.1, plain Elo strings supplied to defaultFormats.elo.parse(), bin/elo, or elo-lang.org/try can use .constructor.constructor to reach JavaScript Function because the member_access handler in src/transform.ts does not reject meta-properties, src/compilers/javascript.ts emits the surviving property directly, and src/parser.ts accepts constructor as an ordinary identifier. The resulting generated JavaScript executes attacker-selected code in the host runtime. This permits browser script execution and session compromise on the auto-running playground and arbitrary Node.js code execution on library, CI, or DevOps hosts. This plain-string path is distinct from the programmatic AST-object injection issue. This issue is fixed in version 1.0.1.
Title Elo: Sandbox escape to arbitrary Node.js / browser code execution via unfiltered `.constructor` member access in Elo JavaScript emitter
Weaknesses CWE-1336
CWE-693
CWE-79
CWE-94
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

  • CWE-693

    Protection Mechanism Failure

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 7, 2026, 3:20 AM
Reserved
May 5, 2026, 4:33 PM
Status
Deferred
Published
Nov 3, 2026, 6:18 PM
Modified
Nov 12, 2026, 10:18 PM