PT-2026-66530 · Banks · Banks
CVE-2026-62663
·
Published
2026-07-30
·
Updated
2026-07-30
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Banks versions prior to 2.4.4
Description
Banks uses a template language to generate LLM prompts. The media filters for image, audio, video, and document accept untrusted user input as file paths via
Path(value) and pass them to the open(file path, "rb") function without sanitization, canonicalization, or directory restriction. An attacker controlling template variables can use path traversal (../) to read arbitrary files accessible to the Python process, such as .env files, SSH keys, cloud credentials, source code, /etc/passwd, and /etc/shadow. The content is returned base64-encoded in the rendered prompt output.Recommendations
Update to version 2.4.4.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Banks