CVE-2026-62663: high-severity vulnerability in masci banks
Banks: Arbitrary File Read via Path Traversal in Media Filters (image/audio/video/document)
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.5epss 0.4%
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
masci · banksRelated CVEs — masci banks
In the same product, most dangerous first.
CVE-2026-71492MEDIUMBanks: Path traversal in `DirectoryPromptRegistry.set()` allows arbitrary file write outside the registry rootEPSS 0.5%CVE-2026-44209HIGHBanks: Critical Remote Code Execution (RCE) via Jinja2 SSTIEPSS 0.4%CVE-2026-61536HIGHBanks: Unsafe importlib.import_module of attacker-controlled Tool.import_path in CompletionExtension allows RCEEPSS 0.4%CVE-2026-107717MEDIUMBanks: User-controlled prompt input can be parsed as privileged chat messagesEPSS 0.3%CVE-2026-107716HIGHBanks: Symlink traversal and arbitrary file disclosure/overwrite in DirectoryPromptRegistryEPSS 0.1%