CVE-2026-107716
Banks generates meaningful LLM prompts using a simple template …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/masci/banks/commit/23ed13e50b4e217693fa5f9c30943fac8a41582f
- github.com/masci/banks/pull/79
- github.com/masci/banks/releases/tag/v2.5.1
- github.com/masci/banks/security/advisories/GHSA-556j-vv39-8rqv
- github.com/advisories/GHSA-556j-vv39-8rqv
- nvd.nist.gov/vuln/detail/CVE-2026-107716
- cve.org/CVERecord?id=CVE-2026-107716
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.