PT-2026-39237 · Banks · Banks
CVSS v3.1
7.5
High
| Vector | AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
banks versions prior to 2.4.2
Description
Server-Side Template Injection (SSTI) occurs when applications pass user-supplied strings directly as template arguments to the
Prompt() function. This happens because the software uses jinja2.Environment() in an unsandboxed environment to render prompt templates, allowing a remote attacker to achieve Remote Code Execution (RCE) on the host system. SSTI is a flaw where an attacker injects malicious code into a template that is then executed by the server.Recommendations
Update to version 2.4.2.
As a temporary workaround, avoid passing user-supplied strings as the template argument to the
Prompt() function.Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Banks