CVE-2026-107716

published 8 Oct 2026 · updated 9 Oct 2026

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

7.3HighCVSS 7.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
masci<2.5.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-107716 severity on Zeptric[![CVE-2026-107716](https://zeptric.io/badge/cve/CVE-2026-107716.svg)](https://zeptric.io/cve/CVE-2026-107716)