CVE-2026-127109

Source
https://cve.org/CVERecord?id=CVE-2026-127109
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-127109.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-127109
Downstream
AZL (2)
Published
2026-11-12T15:08:53Z
Modified
2026-11-14T02:47:32Z
Summary
CVE-2026-127109
Details

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.

Database specific
{
    "cna_assigner": "certcc",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/127xxx/CVE-2026-127109.json"
}
References

Affected packages

Git / github.com/npm/promzard

Affected ranges

Type
GIT
Repo
https://github.com/npm/promzard
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "4.0.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        }
    ]
}

Affected versions

0.*
0.0.1
0.0.2
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
v0.*
v0.2.0
v0.2.1
v0.2.2
v0.3.0
v1.*
v1.0.0
v1.0.1
v1.0.2
v2.*
v2.0.0
v3.*
v3.0.0
v3.0.1
v4.*
v4.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-127109.json"