top of page
perceptive_background_267k.jpg

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 b…

Published:

29 juli 2026 om 22:00:00

Alert date:

30 juli 2026 om 18:03:11

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies, Data Breach & Exfiltration, Emerging Technologies

A path traversal vulnerability (CVE-2026-62663) exists in the 'banks' Python library, which is used to generate LLM prompts via a template language. In versions prior to 2.4.4, all four media filters (image, audio, video, document) accept untrusted user input as file paths without sanitization, canonicalization, or directory restriction. An attacker who controls template variables can use '../' sequences to read arbitrary files accessible to the Python process, including .env files, SSH keys, cloud credentials, /etc/passwd, and /etc/shadow. The file contents are returned base64-encoded within the rendered prompt output, making data exfiltration trivial. This is especially dangerous in applications that pass user-provided variables to banks before sending prompts to an LLM. The vulnerability has been patched in version 2.4.4.

Technical details

Mitigation steps:

Affected products:

banks (Python library) < 2.4.4

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page