CVE-2026-44209: CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine in masci banks
Banks generates meaningful LLM prompts using a template language that makes sense. Prior to 2.4.2, banks uses jinja2.Environment() (unsandboxed) to render prompt templates. Applications that pass user-supplied strings as the template argument to Prompt() are vulnerable to Server-Side Template Injection (SSTI), which can lead to Remote Code Execution (RCE) on the host system. This vulnerability is fixed in 2.4.2.
AI Analysis
Technical Summary
The masci banks product generates LLM prompts using a template language. Versions before 2.4.2 use jinja2.Environment() without sandboxing to render templates. If an application passes user-controlled strings as the template argument to Prompt(), it is vulnerable to SSTI, which can lead to remote code execution on the host. The vulnerability is identified as CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine) and CWE-917 (Improper Neutralization of Input During Web Page Generation). The vulnerability has a CVSS 3.1 score of 7.5 (High) with network attack vector, high impact on confidentiality, integrity, and availability, and requires user interaction with high attack complexity. The vulnerability is fixed in version 2.4.2.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code remotely on the host system running the vulnerable version of masci banks. This compromises confidentiality, integrity, and availability of the affected system. The vulnerability requires user interaction and has a high attack complexity, but no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix is available in masci banks version 2.4.2. Users should upgrade to version 2.4.2 or later to remediate this vulnerability. The vendor advisory from Red Hat does not indicate any alternative mitigations or that no action is required. Therefore, upgrading is the recommended remediation.
CVE-2026-44209: CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine in masci banks
Description
Banks generates meaningful LLM prompts using a template language that makes sense. Prior to 2.4.2, banks uses jinja2.Environment() (unsandboxed) to render prompt templates. Applications that pass user-supplied strings as the template argument to Prompt() are vulnerable to Server-Side Template Injection (SSTI), which can lead to Remote Code Execution (RCE) on the host system. This vulnerability is fixed in 2.4.2.
CVSS v3.1
Score 7.5high
Affected software
masci
banks
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The masci banks product generates LLM prompts using a template language. Versions before 2.4.2 use jinja2.Environment() without sandboxing to render templates. If an application passes user-controlled strings as the template argument to Prompt(), it is vulnerable to SSTI, which can lead to remote code execution on the host. The vulnerability is identified as CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine) and CWE-917 (Improper Neutralization of Input During Web Page Generation). The vulnerability has a CVSS 3.1 score of 7.5 (High) with network attack vector, high impact on confidentiality, integrity, and availability, and requires user interaction with high attack complexity. The vulnerability is fixed in version 2.4.2.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code remotely on the host system running the vulnerable version of masci banks. This compromises confidentiality, integrity, and availability of the affected system. The vulnerability requires user interaction and has a high attack complexity, but no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix is available in masci banks version 2.4.2. Users should upgrade to version 2.4.2 or later to remediate this vulnerability. The vendor advisory from Red Hat does not indicate any alternative mitigations or that no action is required. Therefore, upgrading is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-05T15:13:47.571Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-44209","vendor":"Red Hat"}]
Threat ID: 6a174b8ce29bf47b50e4a247
Added to database: 05/27/2026, 19:52:44 UTC
Last enriched: 07/24/2026, 21:42:46 UTC
Last updated: 09/10/2026, 21:01:41 UTC
Views: 137
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.