CVE-2026-127109
CVE-2026-127109
Description
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.
INFO
Published Date :
Nov. 12, 2026, 4:19 p.m.
Last Modified :
Nov. 12, 2026, 7:22 p.m.
Remotely Exploit :
No
Source :
[email protected]
Solution
- Update the promzard library to the latest version.
- Sanitize all property names in the context object.
- Avoid using untrusted input for property names.
- Review context object usage for potential injection points.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-127109.
| URL | Resource |
|---|---|
| https://github.com/npm/promzard | |
| https://www.kb.cert.org/vuls/id/685399 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-127109 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-127109
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-127109 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-127109 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 12, 2026
Action Type Old Value New Value Added Reference https://www.kb.cert.org/vuls/id/685399 -
New CVE Received by [email protected]
Nov. 12, 2026
Action Type Old Value New Value Added Description 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/127xxx/CVE-2026-127109.json">CVE-2026-127109</a> Added Reference https://github.com/npm/promzard