CVE-2026-73649CWE-94code-injection

CVE-2026-73649

Critical · published August 13, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
53.6
In the wild
Unconfirmed
What it is

Velocity.js is a JavaScript implementation of the Apache Velocity template engine. Prior to 2.1.7, the earlier fix for CVE-2026-44966 filtered constructor, __proto__, and prototype only in the #set assignment handler in src/compile/set.ts, while property-read expressions in src/compile/references.ts remained unfiltered. The getReferences() flow called getAttributes(), whose property access allowed an attacker-controlled template to traverse constructor.constructor to the JavaScript Function constructor. The #set handler validated only the assignment target and did not inspect the right-hand property-read expression, allowing arbitrary shell commands, environment-variable access, cloud-credential access, and internal-network access in the server process. This issue is fixed in version 2.1.7.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00726 · 53.6th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-08-13T22:18Z
References (5)
EPSS history
Timeline
  • 13 AUG 18:05Z
    Velocity.js: Remote Code Execution via property-read to Function constructor (bypass of CVE-2026-44966 fix)
    cvelistv5