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 20:07:35

Source:

nvd.nist.gov

Click to open the original link from this advisory

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

CVE-2026-62663 is a path traversal vulnerability in the 'banks' Python library, which generates LLM prompts using 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 and pass them directly to open() without any sanitization or directory restrictions. 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 exfiltrated file contents are returned base64-encoded in the rendered prompt output, making data exfiltration trivial. This is especially dangerous in applications that process user-provided template variables 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 (versions prior to 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