SecurityContext

CVE-2026-127109: promzard - Code Injection

  • Cve: CVE-2026-127109
  • Name: promzard - Code Injection
  • 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.
  • Impact: Attackers controlling context property names can execute arbitrary JavaScript code with the privileges of the Node.js process, potentially leading to full system compromise.
  • Remediation: Update to the latest version of promzard.
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker needs to control property names in the context object (ctx)
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00428
  • Epss percentile: 0.37505
  • Assignee: [email protected]
  • Published at: 2026-11-12T16:19:07Z
  • Age in days: 12
  • Modified at: 2026-11-16T17:17:30Z
  • References total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-127109
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: vulnerability type, requirement type, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

UrlSourceTags
https://github.com/npm/promzardnvd
https://www.kb.cert.org/vuls/id/685399nvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts