PT-2026-71725 · Unknown · Velocityjs

CVE-2026-73649

·

Published

2026-07-24

·

Updated

2026-08-14

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Velocity.js versions prior to 2.1.7
Description An issue exists where property-read expressions in src/compile/references.ts remain unfiltered, despite previous fixes for the #set assignment handler. The getReferences() flow calls getAttributes(), which allows property access that enables an attacker-controlled template to traverse constructor.constructor to reach the JavaScript Function constructor. Because the #set handler only validates the assignment target and not the right-hand property-read expression, an attacker can execute arbitrary shell commands, access environment variables, retrieve cloud credentials, and access the internal network within the server process.
Recommendations Update to version 2.1.7.

Exploit

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-73649
GHSA-7GFH-X38P-PRH3

Affected Products

Velocityjs