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

CVE-2026-44265: Elo backends have code injection via unvalidated emission of programmatic AST fields

November 3, 2026

Elo’s programmatic AST API accepts arbitrary values in many node fields without runtime type or syntax validation. Each backend’s emit stage interpolates those values straight into the generated source with no escape pass. An integrator that populates the AST from JSON-deserialised input, plugin output, or any other untyped source therefore exposes a code-injection primitive that flows through to the emitted JavaScript, Ruby, Python, or SQL.

The same pattern was previously addressed in 0.9.7 (2026-01-27), which patched the date/datetime/duration literal emitters via JSON.stringify() after a report by naoyashiga. This advisory generalises that fix to the remaining AST surface — at least 23 emission sites across six node-field categories and four backends.

References

  • github.com/advisories/GHSA-x9rp-7wh3-2rj5
  • github.com/enspirit/elo/commit/d2a89a8db76a244eb740687524a7e8529b7554b5
  • github.com/enspirit/elo/commit/fb57dd37a2669d9c412454225c5b89a2adba5d93
  • github.com/enspirit/elo/security/advisories/GHSA-x9rp-7wh3-2rj5
  • nvd.nist.gov/vuln/detail/CVE-2026-44265

Code Behaviors & Features

Detect and mitigate CVE-2026-44265 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 7.4 HIGH

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-749: Exposed Dangerous Method or Function
  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@enspirit/elo/CVE-2026-44265.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:08 +0000.