Monday 16 November
Global

Your region, kept on this device.

Vulnerability

CVE-2026-127109

A code injection vulnerability in promzard’s template-loading functionality allows an attacker who can control property names in the context object (ctx) to execute arbitrary code with the privileges of the Node.js process. The library inserts context property names into a generated function’s parameter list without validation or escaping and evaluates the resulting source using `vm.runInThisContext()`. A crafted property name can escape the parameter list and inject JavaScript code, even when the template file is fully trusted.

CVSS score–Not scored
Not on CISA KEV list

Am I affected?

Sign in and add the software you use to your watchlist: we check it against every new vulnerability.

Show me how to fix it

Timeline

  1. First covered by RedTeamDaily
  2. Published by NVD
  3. Last updated by NVD

Coverage

CERT/CC Vulnerability Notes· · High

promzard npm library flaw allows remote code execution via ctx keys (CVE-2026-127109)

The npm library, versions 4.0.0 and earlier, inserts the keys of its ctx object directly into JavaScript source code without sanitising them, then evaluates that code with vm.runInThisContext(). An attacker who can influence those keys, for example through a configuration file, an HTTP request or environment variables, can execute arbitrary code in the process. The maintainers could not be reached, so there is no vendor fix.

Sources: NVD and CISA known exploited vulnerabilities catalogue.