CVE-2026-107716Banks: Symlink traversal and arbitrary file disclosure/overwrite in DirectoryPromptRegistry
Updated under an hour ago ()
Does this affect you?
It affects masci banks. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.13%, higher than 3% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 7.3 HIGH (v4.0, CNA)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
- Weakness (CWE)
- CWE-22, CWE-59
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.13% (percentile 3)
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Oct 9, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
masci banks masci:banks (from the name) | before 2.5.1 | CNA record |
References
- https://github.com/masci/banks/security/advisories/GHSA-556j-vv39-8rqvx-refsource-confirm
- https://github.com/masci/banks/pull/79x-refsource-misc
- https://github.com/masci/banks/commit/23ed13e50b4e217693fa5f9c30943fac8a41582fx-refsource-misc
- https://github.com/masci/banks/releases/tag/v2.5.1x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.