CVE-2026-107716masci banks
High 7.3
Follow: this CVE · masci · masci banks We alert you by email or Slack (account required).
- Priority
- 44
- CVSS 4.0
- 7.3
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 8, 2026
- Updated
- Oct 9, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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
- Apply the vendor's security update for banks.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | banks |
< 2.5.1 |
2.5.1 |
pip install "banks>=2.5.1" |
| PyPI | banks |
< 2.5.1 |
2.5.1 |
pip install "banks>=2.5.1" |
Per OSV / GitHub Advisories (GHSA-556j-vv39-8rqv, PYSEC-2026-4201). Check the version in your lockfile before upgrading.
Affected products
- masci · banks
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.