Skip to content
zerobom
PRECVE-2026-6CE934BD CRITICAL AUTO Verified CVE-2026-127109 · CVE Assigned

CERT/CC Vulnerability Note VU#685399

The npm library promzard versions 4.0.0 and earlier is vulnerable to remote code execution due to unsafe string interpolation of context object keys allowing injection of arbitrary JavaScript code.

promzard evaluates template modules by interpolating keys from a context object directly into a function parameter list without sanitization. This allows attacker-controlled keys containing JavaScript syntax to execute arbitrary code via vm.runInThisContext(), leading to remote code execution within the Node.js process.

Pre-CVE to NVD / OSV Lifecycle Tracker

Last checked 2026-11-25 19:59 UTC
1. Source Disclosed
2026-11-12 15:09 UTC
Published by CERT/CC Vulnerability Notes (tier_1)
2. ZeroBOM Compiled
2026-11-25 19:59 UTC
OSV 1.6.7 published to live feed
3. OSV.dev / NVD Status
CVE-2026-127109, VU#685399
NVD/OSV entry indexed NVD: 2026-11-12 16:19 UTC

Affected Packages & Deterministic Ranges

Ecosystem Canonical PURL Affected Range Fixed Version Grounding Registry
npm pkg:npm/promzard <= 4.0.0 — verified exists

Verbatim Grounded Evidence

Verified verbatim substring matches copied directly from the source article body.

“The npm library promzard, versions 4.0.0 and earlier, is vulnerable to remote code execution due to direct string interpolation of context object keys, which allows unsanitized JavaScript code injection.”
“promzard builds an object by walking the template module for prompt() and asynchronous functions. The keys of ctx, however, are treated as raw JavaScript source code instead of inert data. The implementation performs direct string interpolation of ctx keys, without validation or sanitization, into the parameter list of a function-expression source string that is then evaluated with vm.runInThisContext(). A key containing attacker-controlled JavaScript syntax can be executed during evaluation.”
“An attacker capable of influencing the ctx object’s keys (e.g. via parsed configuration file, an HTTP request, or environment variables) can break out of the function parameter list and inject arbitrary JavaScript code. This results in remote code execution within the context of the Node.js process.”
References & Upstream Context

Credibility Gate Breakdown

Source Tier Weight (tier_1) 1.00
Extraction Specificity × 1.00
Composite Score 1.0000 [AUTO]
Accepted claims: 1 Dropped claims: 0
Scan Your SBOM Against PRECVE-2026-6CE934BD
$ curl -sL https://zerobom.dev/osv/PRECVE-2026-6CE934BD.json -o PRECVE-2026-6CE934BD.json && zerobom scan --osv PRECVE-2026-6CE934BD.json --sbom sbom.cdx.json