Approved changes feed: RSS · Atom

cpe:2.3:a:masci:banks:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorMasci (d0092f51-b622-5349-97db-0505c135286c)
ProductBanks (1d673cea-da85-5c2c-b655-bb41bdfeba2d)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
pkg:github/masci/banks purl2cpe 2026-09-09 08:33:52.029357
pkg:pypi/banks purl2cpe 2026-09-09 08:33:52.029359

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-62663 vulnerable 2026-09-16 04:32:53.081207 Banks: Arbitrary File Read via Path Traversal in Media Filters (image/audio/video/document)
HIGH (7.5)
Banks generates meaningful LLM prompts using a simple template language. In versions prior to 2.4.4, all four media filters (image, audio, video, document) in banks accept untrusted user input as file paths via Path(value) and pass them directly to open(file_path, "rb") without any path sanitization, canonicalization, or directory restriction. An attacker who controls template variables passed to a banks Prompt can use path traversal (../) to read arbitrary files accessible to the Python process—including .env files, SSH keys, cloud credentials, source code, /etc/passwd, and /etc/shadow—with the content returned base64-encoded in the rendered prompt output, making exfiltration trivial. This is particularly dangerous for applications that use banks to process user-provided template variables before sending prompts to an LLM. This issue has been fixed in version 2.4.4.
Published: 2026-07-30T16:16:34.159Z
Updated: 2026-07-30T17:38:15.444Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-61536 vulnerable 2026-09-16 04:32:44.857910 Banks: Unsafe importlib.import_module of attacker-controlled Tool.import_path in CompletionExtension allows RCE
HIGH (7.5)
Banks generates meaningful LLM prompts using a simple template language. In versions prior to 2.4.3, banks parses Tool JSON objects from the rendered body of {% completion %} blocks and later resolves their import_path field through importlib.import_module(...) + getattr(...) to obtain the callable that handles a tool call. There is no allowlist or sanitization on import_path, so any importable Python attribute (e.g. os.system, subprocess.getoutput) can be selected. When the LLM emits a tool_calls entry whose function.name matches the attacker-supplied tool name, the resolved callable is invoked with kwargs decoded from tool_call.function.arguments, yielding arbitrary code execution in the banks-hosting process. This is distinct from GHSA-gphh-9q3h-jgpp / CVE-2026-44209. That advisory was fixed in 2.4.2 by switching src/banks/env.py from Environment to SandboxedEnvironment. The fix does not touch src/banks/extensions/completion.py, and the unsafe import + getattr chain still executes on 2.4.2. The malicious Tool JSON is plain text in the rendered template body — it requires no Jinja attribute access, so the sandbox is irrelevant. This issue has been fixed in version 2.4.3.
Published: 2026-07-30T16:50:01.730Z
Updated: 2026-07-31T23:01:03.395Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-44209 vulnerable 2026-06-08 08:03:18.127826 Banks: Critical Remote Code Execution (RCE) via Jinja2 SSTI
HIGH (7.5)
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.
Published: 2026-05-26T20:46:56.002Z
Updated: 2026-07-24T12:05:31.563Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.