Skip to main content
← All vulnerabilities
CVE-2026-107716GHSA-556J-VV39-8RQVPYSEC-2026-4201

Banks: Symlink traversal and arbitrary file disclosure/overwrite in DirectoryPromptRegistry

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.5.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Banks generates meaningful LLM prompts using a simple template language. Prior to 2.5.1, Banks DirectoryPromptRegistry does not reject symbolic links for index.json or discovered and existing .jinja prompt files. In an application where untrusted users can influence a prompt directory, DirectoryPromptRegistry._scan() and DirectoryPromptRegistry.get() can follow a link outside the registry root and disclose a file, while DirectoryPromptRegistry.set(), DirectoryPromptRegistry._save(), and DirectoryPromptRegistry._load() can read or overwrite an external link target. The issue requires attacker influence over the registry directory or its extracted contents. This issue is fixed in version 2.5.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • masci banks

    fixed in 2.5.1

  • banksPyPI

    fixed in 2.5.1

References 4

GitHub · masci/banks