Skip to main content
EPSS 0.4%top 64%

CVE-2026-44209: CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine in masci banks

0
High
VulnerabilityCVE-2026-44209cvecve-2026-44209cwe-1336
Published: 05/26/2026 (05/26/2026, 20:46:56 UTC)
Source: CVE Database V5
Vendor/Project: masci
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

masci

banks

Affected versions
<2.4.2
GitHub Actionsmore threats →ai
masci/banks
pkg:github/masci/banks
Affected versions
<2.4.2

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

AILast updated: 07/24/2026, 21:42:46 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses